gecko-dev/testing/marionette/.eslintrc.js
Andreas Tolfsen 31adf07368 Bug 1405279 - Lint for unused variables. r=whimboo
MozReview-Commit-ID: 6hUMzC21Tl

--HG--
extra : rebase_source : 64943c3d934674066abf385035db1949c1a71891
2017-10-03 14:36:09 +01:00

26 lines
634 B
JavaScript

"use strict";
module.exports = {
"rules": {
"camelcase": "error",
"comma-dangle": ["error", "always-multiline"],
"indent": ["error", 2, {
"CallExpression": {"arguments": 2},
"FunctionExpression": {"body": 1, "parameters": 2},
"MemberExpression": 2,
"SwitchCase": 1,
}],
"max-len": ["error", 78, {
"ignoreStrings": true,
"ignoreUrls": true,
}],
"no-fallthrough": "error",
"no-new-object": "error",
"no-undef-init": "error",
"no-unused-vars": ["error", {}],
"no-var": "error",
"object-curly-spacing": ["error", "never"],
"semi": "error",
}
};