
ESLint Plugin snake_case.js


What does it do
This is to enforce a style of snake_case in your project, rather than just disabling camelcase.
Features
- [✓] Easy to use
- [✓] Compatible with last version of ESLint
- [✓] Compatible with CamelCase (Class name or similar)
Fast setup
- Add dependencies on
package.json
"dependencies": {
"eslint": "^4.19.1",
},
"devDependencies": {
"eslint-plugin-snakecasejs": "^1.0.0",
}
- Create
.eslintrc.json
file with:
{
"plugins": [
"snakecasejs"
],
"rules":
{
"snakecasejs/snakecasejs": "error"
}
}
- If work add star :star: at this project :heart:
- If you want help me: donate on paypal or become a backer on patreon.
NOTE: switch error
to warn
if you don't need snake_case as mandatory rules.
For advanced configuration see INSTALL.md.
License
GNU GENERAL PUBLIC LICENSE
Copyright (c) 2018 Patryk Rzucidło (PTKDev)