-
目前大多数前端主流代码建议都使用 2 个空格作为缩进。
譬如
https://github.com/airbnb/javascript#whitespace
https://standardjs.com/rules.html#rules
-
The package [`prettierx`](https://www.npmjs.com/package/prettierx) was created to allow usage of prettier along with standardjs formatting. Maybe it would improve your setup to use it.
nolde updated
2 years ago
-
When a dependency update is created by dependabot, reviewdog isn't updating the status checks on the PR. It started some days ago. Looks like that reviewdog can't find the results. Any clues about why…
-
I think we should use a linter to enforce a consistent style across the Asciidoctor.js ecosystem.
We've settled on the "JavaScript standard style": https://standardjs.com/
And I must admit that I'…
-
Some lines have them. Some lines don't. Some lines have extra.
I don't care which way you want it (though for myself I prefer to follow the language spec and have them), but I assume that it should…
-
Im trying to understand how this addon integrates with other ESLint rules...
It seems that installing the addon will remove the ESLint file. I assume that this is recommended behaviour, which might…
-
**Is your feature request related to a problem? Please describe.**
Current ESLint presets are supporting TS. But, you can experience some problems as you start writing more code. abraxxa#9791 from ou…
-
TSLint is now deprecated [as described in their article about it](https://medium.com/palantir/tslint-in-2019-1a144c2317a9). For typescript projects I have now been using eslint directly with `@typescr…
-
What do you think about removing semicolon from snippets?
I've been using [standardjs](https://standardjs.com) and looks like we don't need to use semicolons anywhere anymore. They gave some cool …
-
1. Analyse rule sets from standardJs and airbnb.
2. Make a report.
3. Apply rules to packages.
4. Fix errors in packages
- [x] @typescript-eslint/strict-boolean-expressions
- [x] @typescript-eslint/p…