gecko-dev/testing/marionette/.eslintrc.js

22 строки
517 B
JavaScript

"use strict";
module.exports = {
"rules": {
"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-new-object": "error",
"no-undef-init": "error",
"object-curly-spacing": ["error", "never"],
"semi": "error",
}
};