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"
}
}
For advanced configuration see INSTALL.md.
License
GNU GENERAL PUBLIC LICENSE
Copyright (c) 2018 Patryk Rzucidło (PTKDev)