web-api-manager/.eslintrc.json

30 lines
848 B
JSON
Raw Permalink Normal View History

{
"env": {
"browser": true,
"es6": true,
"webextensions": true,
"node": true,
"mocha": true
},
"extends": [
"eslint:recommended"
],
"rules": {
"no-console": "off",
"no-unused-vars": ["error", {"varsIgnorePattern": "ignore"}],
"semi": ["error", "always"],
"indent": ["error", 4],
"eol-last": "error",
"quotes": ["error", "double"],
"comma-dangle": ["error", "only-multiline"],
"function-paren-newline": ["error"],
"max-len": ["error", {"ignoreStrings": true, "code": 100}],
"require-jsdoc": "error",
"valid-jsdoc": "error",
"prefer-const": "error",
"no-template-curly-in-string": "error",
"no-unused-expressions": "error",
"no-trailing-spaces": "error"
}
}