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.
36 lines
760 B
36 lines
760 B
module.exports = {
|
|
"env": {
|
|
"es6": true,
|
|
"node": true
|
|
},
|
|
"extends": "eslint:recommended",
|
|
"rules": {
|
|
"indent": [
|
|
"error",
|
|
"tab"
|
|
],
|
|
"linebreak-style": [
|
|
"error",
|
|
"unix"
|
|
],
|
|
"quotes": [
|
|
"error",
|
|
"single"
|
|
],
|
|
"semi": [
|
|
"error",
|
|
"always"
|
|
],
|
|
"no-var": "error",
|
|
"prefer-const": ["error", {
|
|
"destructuring": "any",
|
|
"ignoreReadBeforeAssign": false
|
|
}],
|
|
"prefer-destructuring": ["error", {
|
|
"array": true,
|
|
"object": true
|
|
}, {
|
|
"enforceForRenamedProperties": true
|
|
}]
|
|
}
|
|
};
|