Files
tubestation/toolkit/components/narrate/.eslintrc.js
Wes Kocher 676e3eb6b3 No bug - Fix up merge bustage from an unsaved change a=me
MozReview-Commit-ID: CdGDhCgrksv
2017-04-25 13:58:03 -07:00

51 lines
1.5 KiB
JavaScript

"use strict";
module.exports = {
"globals": {
"Iterator": true
},
"rules": {
"mozilla/no-aArgs": "warn",
"mozilla/reject-importGlobalProperties": "warn",
"mozilla/var-only-at-top-level": "warn",
"block-scoped-var": "error",
"camelcase": "warn",
"comma-dangle": "off",
"comma-style": ["warn", "last"],
"complexity": ["error", {"max": 20}],
"curly": "error",
"dot-location": ["warn", "property"],
"dot-notation": "error",
"generator-star-spacing": ["warn", "after"],
"indent": ["warn", 2, {"SwitchCase": 1}],
"max-len": ["warn", 80, 2, {"ignoreUrls": true}],
"max-nested-callbacks": ["error", 3],
"new-cap": ["error", {"capIsNew": false}],
"new-parens": "error",
"no-array-constructor": "error",
"no-control-regex": "error",
"no-eval": "error",
"no-extend-native": "error",
"no-fallthrough": "error",
"no-inline-comments": "warn",
"no-mixed-spaces-and-tabs": "error",
"no-multi-spaces": "warn",
"no-multi-str": "warn",
"no-multiple-empty-lines": ["warn", {"max": 1}],
"no-return-assign": "error",
"no-sequences": "error",
"no-shadow": "warn",
"no-throw-literal": "error",
"no-unneeded-ternary": "error",
"no-unused-vars": "error",
"padded-blocks": ["warn", "never"],
"quotes": ["warn", "double", "avoid-escape"],
"semi": ["warn", "always"],
"semi-spacing": ["warn", {"before": false, "after": true}],
"space-in-parens": ["warn", "never"],
"strict": ["error", "global"],
"yoda": "error"
}
};