mirror of
https://github.com/scratchfoundation/eslint-config-scratch.git
synced 2025-07-13 22:54:11 -04:00
Make all previous warning rules into errors except the todo rule BREAKING CHANGE: eslint4.0 and other dep updates, and all rule changes. Fixes #11.
13 lines
265 B
JavaScript
13 lines
265 B
JavaScript
module.exports = {
|
|
rules: {
|
|
// Node/CommonJS
|
|
'global-require': [2],
|
|
'handle-callback-err': [2],
|
|
'no-mixed-requires': [2],
|
|
'no-new-require': [2],
|
|
'no-path-concat': [2]
|
|
},
|
|
env: {
|
|
node: true
|
|
}
|
|
};
|