2.1.1 • Published 3 years ago
@soyhuce/eslint-config v2.1.1
@ soyhuce/eslint-config
ESLint shareable config for Javascript/Typescript code style.
Installation
pnpm add -D @soyhuce/eslint-config
# with ESLint
pnpm add -D eslint @soyhuce/eslint-config
Usage
In order to use this config, choose the one you want and add this configuration to your package.json
:
{
"eslintConfig": {
"extends": [
+ "@soyhuce/eslint-config"
]
}
}
Or add a .eslintrc.js
file to your project root containing:
module.exports = {
extends: [
+ '@soyhuce/eslint-config'
]
}
VSCode integration
We recommend turning on VSCode settings to automatically run eslint --fix
on save.
"editor.codeActionsOnSave": {
+ "source.fixAll.eslint": true
}
This will automatically format your code once you save. You don't need VSCode prettier extension enabled or running on save as eslint will automatically run prettier
for you.
License
MIT
2.1.1
3 years ago
2.0.0
3 years ago
1.6.0
3 years ago
1.5.0
3 years ago
1.2.0
3 years ago
1.1.0
3 years ago
1.0.1
3 years ago
1.0.0
3 years ago
1.4.0
3 years ago
1.3.0
3 years ago
0.1.0
3 years ago
0.0.1
4 years ago
0.0.0
4 years ago
0.1.12
4 years ago
0.1.11
4 years ago
0.1.10
4 years ago
0.1.9
4 years ago
0.1.8
4 years ago
0.1.7
4 years ago
0.1.5
4 years ago
0.1.4
4 years ago
0.1.3
4 years ago
0.1.2
4 years ago