1.2.6 • Published 5 years ago
eslint-config-fox v1.2.6
eslint-config-fox
Edwin's ESLint configuration
Behavior
- Styling issues are always warnings and auto-fixable
- Syntax issues are usually errors when either auto-fixable or not
- Exceptions include obviously temporary errors (ex.
no-lone-blocks
({}
)) (which may be off or _warning)
- Exceptions include obviously temporary errors (ex.
- Extra syntax issues may be error on
NODE_ENV === production
(ex. loggers)
Options
Example
// .fox.js
export default {
lint: 'off | cozy (default) || strict || excessive',
}
Description
off
turns of all functional linting. formatting options are still enabled, though
cozy
catches code that is
- aggregous errors
- non-aggregous auto-fixable errors
- hard to debug / easy to be buggy
- isn't obviously buggy (but is buggy)
- not unobviously buggy (and isn't)
- deprecated syntax
strict
catches code that is
- not up to best practices
- unecessarily verbose / unecessarily misleading
- ex. needlessly using
.bind()
- ex. needlessly using
- ambiguous
excessive
Essentially the same as strict
, but includes options that are
more annoying than helpfull when coding a project
- ex. forcing default to exist at end of switch
1.2.6
5 years ago
1.2.5
5 years ago
1.2.4
5 years ago
1.2.3
5 years ago
1.2.2
5 years ago
1.2.1
5 years ago
1.2.0
5 years ago
1.1.4
5 years ago
1.1.3
5 years ago
1.1.2
5 years ago
1.1.1
5 years ago
1.1.0
5 years ago
1.0.6
5 years ago
1.0.5
5 years ago
1.0.4
5 years ago
1.0.2
5 years ago
1.0.1
5 years ago
1.0.3
5 years ago
1.0.0
5 years ago
0.3.4
5 years ago
0.3.3
5 years ago
0.3.2
5 years ago
0.3.1
5 years ago
0.3.0
5 years ago
0.2.1
5 years ago
0.2.0
5 years ago
0.2.3
5 years ago
0.2.2
5 years ago
0.1.0
5 years ago