Comments (10)
The block-spacing
rule is already enabled:
• eslint-config-stylelint/blob/master/eslintrc.json#L14 "block-spacing": 2,
from eslint-config-stylelint.
@ntwb sorry, i mean padded-blocks
rule
from eslint-config-stylelint.
Ref http://eslint.org/docs/rules/padded-blocks
As the rule supports --fix
here's a gist of the ~21k lines diff after manually adding "padded-blocks": 2,
https://gist.github.com/ntwb/2c9bb14d91e1a79137a1e90e04256493
from eslint-config-stylelint.
@ntwb i think never
options is more good, than always
(remove extra blank lines)
from eslint-config-stylelint.
I updated the gist with using the never
option, much saner ~900 line diff, though I'm still undecided if this is needed though....
https://gist.github.com/ntwb/2c9bb14d91e1a79137a1e90e04256493
from eslint-config-stylelint.
@ntwb what about size of package, before and after?
from eslint-config-stylelint.
Does anyone have a strong opinion on whether the "never"
option makes the code more readable or not?
If there are no objections then I'm happy to see this go in.
from eslint-config-stylelint.
I'm fine with this.
from eslint-config-stylelint.
@ntwb what about size of package, before and after?
It would be quite minor, the change removes 81 blank lines
Does anyone have a strong opinion on whether the "never" option makes the code more readable or not?
I think it does, but that's only because I use a similar standard with the PHP code I write, so it works for me
from eslint-config-stylelint.
Done in #10
from eslint-config-stylelint.
Related Issues (20)
- Loosen `no-console` rule HOT 2
- Release 5.1.0 HOT 1
- Add eslint-plugin-regexp HOT 9
- Release 15.0.0 HOT 8
- Remove space inside multi item arrays HOT 1
- Exclude Jest configs by default HOT 1
- Enable rule `max-len` HOT 11
- For any enum its throwing a no-shadow rule error HOT 2
- Add `eslint-plugin-import` HOT 5
- Postponing 7.0.0 release HOT 4
- Publish 8.0.0 HOT 1
- enable some stylistic rules HOT 1
- Version 10 of node.js has been released
- Use `smart` option of `eqeqeq` rule HOT 1
- Use `ignoreRestSiblings` option of `no-unused-vars` rule HOT 2
- Adapt rules after the upstream PRs are merged HOT 1
- Enforce use of modern syntax using unicorn plugin HOT 8
- Update outdated packages via Dependabot HOT 6
- Release 12.1.0 HOT 11
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from eslint-config-stylelint.