2019-04-16 05:16:57 +00:00
|
|
|
{
|
|
|
|
"env": {
|
|
|
|
"browser": true,
|
|
|
|
"commonjs": true,
|
|
|
|
"es6": true
|
|
|
|
},
|
|
|
|
"extends": "airbnb-base",
|
|
|
|
"globals": {
|
|
|
|
"Atomics": "readonly",
|
|
|
|
"SharedArrayBuffer": "readonly"
|
|
|
|
},
|
|
|
|
"parserOptions": {
|
|
|
|
"ecmaVersion": 2018
|
|
|
|
},
|
|
|
|
"rules": {
|
|
|
|
"linebreak-style": ["error", "windows"],
|
|
|
|
"no-unused-expressions": ["error", {"allowTernary": true}],
|
|
|
|
"import/no-dynamic-require": "off",
|
|
|
|
"no-mixed-spaces-and-tabs": "error",
|
|
|
|
"indent": ["error", 4],
|
|
|
|
"arrow-parens": 0,
|
|
|
|
"max-len": "off",
|
2019-04-16 18:15:48 +00:00
|
|
|
"consistent-return": 0,
|
|
|
|
"no-plusplus": "off",
|
2019-04-16 22:52:27 +00:00
|
|
|
"array-callback-return": "off",
|
|
|
|
"import/no-unresolved": "off"
|
2019-04-16 05:16:57 +00:00
|
|
|
}
|
|
|
|
}
|