mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-15 20:30:33 +00:00
35 lines
712 B
JavaScript
35 lines
712 B
JavaScript
module.exports = {
|
|
env: {
|
|
browser: true,
|
|
es6: true,
|
|
},
|
|
extends: ['airbnb-base', 'airbnb-typescript'],
|
|
parser: '@typescript-eslint/parser',
|
|
parserOptions: {
|
|
ecmaVersion: 2018,
|
|
sourceType: 'module',
|
|
project: 'tsconfig.json',
|
|
tsconfigRootDir: './',
|
|
},
|
|
globals: {
|
|
Atomics: 'readonly',
|
|
SharedArrayBuffer: 'readonly',
|
|
},
|
|
plugins: ['import'],
|
|
rules: {
|
|
'import/no-unresolved': 'error',
|
|
'import/prefer-default-export': 'off',
|
|
},
|
|
settings: {
|
|
'import/parsers': {
|
|
'@typescript-eslint/parser': ['.ts', '.tsx'],
|
|
},
|
|
'import/resolver': {
|
|
typescript: {
|
|
alwaysTryTypes: true,
|
|
project: 'tsconfig.json',
|
|
},
|
|
},
|
|
},
|
|
};
|