24 lines
413 B
JavaScript
24 lines
413 B
JavaScript
|
module.exports = {
|
||
|
env: {
|
||
|
browser: true,
|
||
|
es2021: true,
|
||
|
},
|
||
|
extends: [
|
||
|
'airbnb-base',
|
||
|
],
|
||
|
parser: '@typescript-eslint/parser',
|
||
|
parserOptions: {
|
||
|
ecmaVersion: 12,
|
||
|
sourceType: 'module',
|
||
|
},
|
||
|
plugins: [
|
||
|
'@typescript-eslint',
|
||
|
'simple-import-sort',
|
||
|
],
|
||
|
rules: {
|
||
|
'no-new': 'off',
|
||
|
'simple-import-sort/exports': 'error',
|
||
|
'simple-import-sort/imports': 'error',
|
||
|
},
|
||
|
};
|