Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
15 lines (15 sloc) 645 Bytes
{
"parserOptions": {
"ecmaVersion": 2017, // FireFox 52 ESR & iPhone 5C
"sourceType": "module" // otherwise eslint does not recognize `require`
},
"rules": {
"eqeqeq": "error", // prefer `===` instead of `==`
"prefer-arrow-callback": "error", // avoid the evil `this`
"curly": "error", // not omit braces for statements in control flow
"no-multi-assign": "error", // no `a = b = c = 1`
"no-var": "error", // use `const` and `let` instead of `var`
"prefer-const": "error", // use `const` when there is no reassignment
"no-param-reassign": "error" // use nonreassignable function parameters
}
}
You can’t perform that action at this time.