2022-11-07 17:44:57 -06:00
|
|
|
module.exports = {
|
|
|
|
env: {
|
|
|
|
browser: true,
|
|
|
|
es2021: true,
|
|
|
|
},
|
2022-12-31 16:08:42 -06:00
|
|
|
extends: ['airbnb-base'],
|
2022-11-30 09:13:52 -06:00
|
|
|
overrides: [],
|
2022-11-07 17:44:57 -06:00
|
|
|
parserOptions: {
|
|
|
|
ecmaVersion: 'latest',
|
|
|
|
sourceType: 'module',
|
|
|
|
},
|
2022-12-31 16:08:42 -06:00
|
|
|
// plugins: ["import"],
|
2022-11-07 17:44:57 -06:00
|
|
|
rules: {
|
2022-12-31 16:08:42 -06:00
|
|
|
'import/extensions': ['error', 'always'],
|
|
|
|
'import/prefer-default-export': ['off'],
|
|
|
|
'import/no-unresolved': ['error', { ignore: ['^http'] }],
|
|
|
|
'no-unused-vars': ['error', { argsIgnorePattern: '^_' }],
|
|
|
|
'max-classes-per-file': ['off'],
|
|
|
|
'no-param-reassign': ['off'],
|
|
|
|
'no-plusplus': ['off'],
|
|
|
|
'no-restricted-syntax': ['off'],
|
|
|
|
'max-len': ['warn', 120],
|
|
|
|
'no-console': ['off'],
|
|
|
|
'no-return-assign': ['off'],
|
|
|
|
'no-multi-assign': ['off'],
|
|
|
|
'no-constant-condition': ['off'],
|
|
|
|
'no-await-in-loop': ['off'],
|
2022-11-07 17:44:57 -06:00
|
|
|
},
|
|
|
|
};
|