2020-04-14 13:15:33 -04:00
|
|
|
{
|
2021-02-06 22:04:18 -05:00
|
|
|
"settings": {
|
|
|
|
"import/resolver": {
|
|
|
|
"node": {
|
|
|
|
"extensions": [".js", ".jsx", ".ts", ".tsx"]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"env": {
|
|
|
|
"es6": true,
|
|
|
|
"node": true
|
|
|
|
},
|
|
|
|
"extends": ["airbnb-base"],
|
|
|
|
"globals": {
|
|
|
|
"Atomics": "readonly",
|
|
|
|
"SharedArrayBuffer": "readonly"
|
|
|
|
},
|
|
|
|
"parser": "@typescript-eslint/parser",
|
|
|
|
"parserOptions": {
|
|
|
|
"ecmaVersion": 2020,
|
|
|
|
"sourceType": "module"
|
|
|
|
},
|
|
|
|
"plugins": ["@typescript-eslint"],
|
|
|
|
"rules": {
|
|
|
|
"linebreak-style": "off",
|
|
|
|
"no-unused-vars": "off",
|
|
|
|
"max-len": "off",
|
|
|
|
"import/no-dynamic-require": "off",
|
|
|
|
"global-require": "off",
|
|
|
|
"class-methods-use-this": "off",
|
|
|
|
"no-restricted-syntax": "off",
|
|
|
|
"camelcase": "off",
|
|
|
|
"indent": "warn",
|
|
|
|
"object-curly-newline": "off",
|
|
|
|
"import/prefer-default-export": "off",
|
|
|
|
"no-useless-constructor": "off",
|
|
|
|
"@typescript-eslint/no-useless-constructor": 2,
|
|
|
|
"import/extensions": "off",
|
|
|
|
"no-param-reassign": "off",
|
|
|
|
"no-underscore-dangle": "off",
|
|
|
|
"keyword-spacing": "off",
|
2021-02-28 01:06:13 -05:00
|
|
|
"no-multiple-empty-lines": "off",
|
|
|
|
"consistent-return": "off"
|
2021-02-06 22:04:18 -05:00
|
|
|
},
|
|
|
|
"ignorePatterns": "**/*.js"
|
2020-07-23 08:33:48 -04:00
|
|
|
}
|