You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
610 B
28 lines
610 B
var OFF = 0, WARN = 1, ERROR = 2;
|
|
|
|
module.exports = exports = {
|
|
"root": true,
|
|
env: {
|
|
'es6': true, // We are writing ES6 code
|
|
'browser': true, // for the browser
|
|
'commonjs': true // and use require() for stylesheets
|
|
},
|
|
"parserOptions": {
|
|
"ecmaFeatures": {
|
|
"modules": true
|
|
},
|
|
"sourceType": "module"
|
|
},
|
|
"rules":{
|
|
"no-console": OFF,
|
|
"jsx-quotes": WARN,
|
|
"no-unused-vars": WARN,
|
|
"no-undef": WARN
|
|
|
|
},
|
|
"globals": {
|
|
"$": true
|
|
},
|
|
|
|
"extends": ["eslint:recommended"]
|
|
}; |