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',
|
|
|
|
},
|
2023-01-17 18:00:41 -06:00
|
|
|
plugins: [
|
|
|
|
'import',
|
|
|
|
'html',
|
|
|
|
],
|
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'] }],
|
2023-01-17 18:00:41 -06:00
|
|
|
'import/no-absolute-path': ['off'],
|
2022-12-31 16:08:42 -06:00
|
|
|
'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
|
|
|
},
|
2023-01-29 04:38:28 -06:00
|
|
|
globals: {
|
|
|
|
_: 'readonly',
|
|
|
|
chai: 'readonly',
|
|
|
|
expect: 'readonly',
|
|
|
|
mocha: 'readonly',
|
|
|
|
describe: 'readonly',
|
|
|
|
context: 'readonly',
|
|
|
|
it: 'readonly',
|
|
|
|
specify: 'readonly',
|
2023-02-01 21:43:47 -06:00
|
|
|
should: 'readonly',
|
2023-01-29 04:38:28 -06:00
|
|
|
before: 'readonly',
|
|
|
|
after: 'readonly',
|
|
|
|
beforeEach: 'readonly',
|
|
|
|
afterEach: 'readonly',
|
|
|
|
},
|
2022-11-07 17:44:57 -06:00
|
|
|
};
|