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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

26 строки
682 B
JavaScript
Исходник Обычный вид История

"use strict";
// inherits from ../../tools/lint/eslint/eslint-plugin-mozilla/lib/configs/recommended.js
module.exports = {
"rules": {
"camelcase": "error",
"comma-dangle": ["error", "always-multiline"],
"indent-legacy": ["error", 2, {
"CallExpression": {"arguments": 2},
"FunctionExpression": {"body": 1, "parameters": 2},
"MemberExpression": 2,
"SwitchCase": 1,
}],
"max-len": ["error", 78, {
"ignoreStrings": true,
"ignoreTemplateLiterals": true,
"ignoreUrls": true,
}],
"no-fallthrough": "error",
"no-undef-init": "error",
"no-var": "error",
"object-curly-spacing": ["error", "never"],
}
};