eslint-config-elderfo
This is my eslint configuration that I used on my projects. This config extends the linting rules from airbnb/javascript.
Usage
Extend elderfo
in your .eslintrc
file:
Rule Differences
Rule | Setting | Description |
---|---|---|
no-underscore-dangle |
off | Simply a preference of mine |
max-len |
error | Has the following rules applied: ignoreTrailingComments: true code: 100 ignoreStrings: true ignoreComments: true ignoreUrls: true |
react/jsx-filename-extension |
error | Except for extensions: .js .jsx |