|
|
@ -1,5 +1,8 @@
|
|
|
|
{
|
|
|
|
{
|
|
|
|
"extends": "airbnb",
|
|
|
|
"extends": "airbnb-base",
|
|
|
|
|
|
|
|
"parserOptions": {
|
|
|
|
|
|
|
|
"sourceType": "script"
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
"rules": {
|
|
|
|
"rules": {
|
|
|
|
// Customized
|
|
|
|
// Customized
|
|
|
@ -16,10 +19,12 @@
|
|
|
|
"newline-per-chained-call": "off",
|
|
|
|
"newline-per-chained-call": "off",
|
|
|
|
"no-console": "off",
|
|
|
|
"no-console": "off",
|
|
|
|
"no-mixed-operators": ["error", { "allowSamePrecedence": true }],
|
|
|
|
"no-mixed-operators": ["error", { "allowSamePrecedence": true }],
|
|
|
|
|
|
|
|
"strict": ["error", "global"],
|
|
|
|
|
|
|
|
|
|
|
|
// ES6
|
|
|
|
// ES6
|
|
|
|
"prefer-rest-params": "off",
|
|
|
|
"prefer-rest-params": "off",
|
|
|
|
"prefer-spread": "off",
|
|
|
|
"prefer-spread": "off",
|
|
|
|
|
|
|
|
"prefer-arrow-callback": "off",
|
|
|
|
|
|
|
|
|
|
|
|
// TODO
|
|
|
|
// TODO
|
|
|
|
"import/no-unresolved": "off",
|
|
|
|
"import/no-unresolved": "off",
|
|
|
@ -81,7 +86,6 @@
|
|
|
|
"no-tabs": "off",
|
|
|
|
"no-tabs": "off",
|
|
|
|
"indent": "off",
|
|
|
|
"indent": "off",
|
|
|
|
"func-names": "off",
|
|
|
|
"func-names": "off",
|
|
|
|
"prefer-arrow-callback": "off",
|
|
|
|
|
|
|
|
"object-curly-spacing": "off",
|
|
|
|
"object-curly-spacing": "off",
|
|
|
|
"no-var": "off",
|
|
|
|
"no-var": "off",
|
|
|
|
"no-shadow": "off",
|
|
|
|
"no-shadow": "off",
|
|
|
@ -95,7 +99,8 @@
|
|
|
|
"object-shorthand": "off",
|
|
|
|
"object-shorthand": "off",
|
|
|
|
"no-param-reassign": "off",
|
|
|
|
"no-param-reassign": "off",
|
|
|
|
"consistent-return": "off",
|
|
|
|
"consistent-return": "off",
|
|
|
|
"strict": "off",
|
|
|
|
"no-multi-assign": "off",
|
|
|
|
|
|
|
|
// "strict": "off",
|
|
|
|
// "comma-dangle": "off",
|
|
|
|
// "comma-dangle": "off",
|
|
|
|
// "no-multi-spaces": "off",
|
|
|
|
// "no-multi-spaces": "off",
|
|
|
|
// "quotes": "off",
|
|
|
|
// "quotes": "off",
|
|
|
|