You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
module.exports = {
|
|
|
|
env: {
|
|
|
|
commonjs: true,
|
|
|
|
node: true,
|
|
|
|
},
|
|
|
|
extends: [
|
|
|
|
'airbnb-base',
|
|
|
|
],
|
|
|
|
globals: {
|
|
|
|
Atomics: 'readonly',
|
|
|
|
SharedArrayBuffer: 'readonly',
|
|
|
|
},
|
|
|
|
parserOptions: {
|
|
|
|
ecmaVersion: 2018,
|
|
|
|
},
|
|
|
|
rules: {
|
|
|
|
"indent": ["warn", 4],
|
|
|
|
"no-plusplus": "off",
|
|
|
|
"no-underscore-dangle": "off",
|
|
|
|
"no-console": "off",
|
|
|
|
"no-extend-native": "off",
|
|
|
|
"no-restricted-syntax": "off",
|
|
|
|
"max-classes-per-file": "off",
|
|
|
|
"radix": "off",
|
|
|
|
"guard-for-in": "off",
|
|
|
|
"no-param-reassign": "off",
|
|
|
|
"global-require": "off",
|
|
|
|
"no-nested-ternary": "off",
|
|
|
|
"no-multi-assign": "off",
|
|
|
|
},
|
|
|
|
};
|