eslint-config-proper
v1.1.0
Published
ESLint config for JS Proper Format
Downloads
12
Maintainers
Readme
Proper Format
A style guide for modern JavaScript
Usage
Install the eslint config module:
npm install -D eslint-config-proper
and update package.json
:
{
"eslintConfig": {
"extends": "proper"
}
}
Rules
- Semicolons required – No worrying about "gotchas"
- Indent with tabs
- Single quotes – except to avoid escaping
- No unused variables
- Spaces after keywords –
if (condition) { ... }
- No spaces after function name –
function foo(bar) { ... }
- and more...