2021-11-11 19:35:41 -06:00
|
|
|
module.exports = {
|
2021-11-11 19:58:13 -06:00
|
|
|
parserOptions: {
|
|
|
|
tsconfigRootDir: __dirname,
|
2023-02-25 20:28:05 -06:00
|
|
|
project: ['./tsconfig.json', './test/tsconfig.json'],
|
2021-11-11 19:58:13 -06:00
|
|
|
},
|
2021-11-11 19:35:41 -06:00
|
|
|
extends: [
|
2021-11-18 08:32:43 -06:00
|
|
|
'../shared/.eslintrc.js',
|
2021-11-11 19:35:41 -06:00
|
|
|
],
|
2022-04-15 01:05:43 -05:00
|
|
|
rules: {
|
|
|
|
'import/order': ['warn', {
|
|
|
|
'groups': ['builtin', 'external', 'internal', 'parent', 'sibling', 'index', 'object', 'type'],
|
|
|
|
'pathGroups': [
|
|
|
|
{
|
|
|
|
'pattern': '@/**',
|
|
|
|
'group': 'external',
|
|
|
|
'position': 'after'
|
|
|
|
}
|
|
|
|
],
|
2022-05-14 02:09:47 -05:00
|
|
|
}],
|
|
|
|
'no-restricted-globals': [
|
|
|
|
'error',
|
|
|
|
{
|
|
|
|
'name': '__dirname',
|
|
|
|
'message': 'Not in ESModule. Use `import.meta.url` instead.'
|
|
|
|
},
|
|
|
|
{
|
|
|
|
'name': '__filename',
|
|
|
|
'message': 'Not in ESModule. Use `import.meta.url` instead.'
|
|
|
|
}
|
|
|
|
]
|
2022-04-15 01:05:43 -05:00
|
|
|
},
|
2021-11-11 19:35:41 -06:00
|
|
|
};
|