first commit
This commit is contained in:
32
node_modules/eslint-config-riot/.eslintrc.js
generated
vendored
Normal file
32
node_modules/eslint-config-riot/.eslintrc.js
generated
vendored
Normal file
@@ -0,0 +1,32 @@
|
||||
module.exports = {
|
||||
"root": true,
|
||||
"env": {
|
||||
"browser": true,
|
||||
"es6": true,
|
||||
"mocha": true,
|
||||
"node": true
|
||||
},
|
||||
"extends": "eslint:recommended",
|
||||
"parserOptions": {
|
||||
"sourceType": "module"
|
||||
},
|
||||
"rules": {
|
||||
"eqeqeq": ["error", "smart"],
|
||||
"indent": ["error", 2],
|
||||
"no-bitwise": ["error", { "allow": ["|"] }],
|
||||
"linebreak-style": ["error", "unix"],
|
||||
"no-cond-assign": "off",
|
||||
"no-console": "off",
|
||||
"no-unexpected-multiline": "error",
|
||||
"quotes": ["error", "single", "avoid-escape"],
|
||||
"semi": ["error", "never"]
|
||||
},
|
||||
"globals": {
|
||||
"expect": true,
|
||||
"body": true,
|
||||
"chai": true,
|
||||
"sinon": true,
|
||||
"riot": true
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user