2017-06-24 21:01:04 +03:00
|
|
|
"use strict";
|
|
|
|
|
|
|
|
module.exports = {
|
|
|
|
"rules": {
|
2017-08-19 16:18:51 +03:00
|
|
|
"camelcase": "error",
|
2017-06-24 21:01:04 +03:00
|
|
|
"comma-dangle": ["error", "always-multiline"],
|
2017-10-09 12:54:16 +03:00
|
|
|
"indent-legacy": ["error", 2, {
|
2017-07-29 12:02:32 +03:00
|
|
|
"CallExpression": {"arguments": 2},
|
2017-06-24 21:01:04 +03:00
|
|
|
"FunctionExpression": {"body": 1, "parameters": 2},
|
|
|
|
"MemberExpression": 2,
|
2017-07-29 12:02:32 +03:00
|
|
|
"SwitchCase": 1,
|
2017-06-24 21:01:04 +03:00
|
|
|
}],
|
|
|
|
"max-len": ["error", 78, {
|
|
|
|
"ignoreStrings": true,
|
2017-12-05 10:06:17 +03:00
|
|
|
"ignoreTemplateLiterals": true,
|
2017-06-24 21:01:04 +03:00
|
|
|
"ignoreUrls": true,
|
|
|
|
}],
|
2017-08-18 20:55:56 +03:00
|
|
|
"no-fallthrough": "error",
|
2017-06-24 21:01:04 +03:00
|
|
|
"no-new-object": "error",
|
2017-07-29 12:02:32 +03:00
|
|
|
"no-undef-init": "error",
|
2017-10-03 16:36:09 +03:00
|
|
|
"no-unused-vars": ["error", {}],
|
2017-08-30 19:36:56 +03:00
|
|
|
"no-var": "error",
|
2017-06-24 21:01:04 +03:00
|
|
|
"object-curly-spacing": ["error", "never"],
|
2017-07-29 12:02:32 +03:00
|
|
|
"semi": "error",
|
2017-06-24 21:01:04 +03:00
|
|
|
}
|
|
|
|
};
|