mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-27 05:33:07 +02:00
35ec41fc1e
* enhance(backend): テストの高速化 * add ls * 自動的にマージされるようなので不要 * 起動方法を揃える * fix test
32 lines
658 B
JavaScript
32 lines
658 B
JavaScript
module.exports = {
|
|
parserOptions: {
|
|
tsconfigRootDir: __dirname,
|
|
project: ['./tsconfig.json'],
|
|
},
|
|
extends: [
|
|
'../../shared/.eslintrc.js',
|
|
],
|
|
rules: {
|
|
'import/order': ['warn', {
|
|
'groups': ['builtin', 'external', 'internal', 'parent', 'sibling', 'index', 'object', 'type'],
|
|
'pathGroups': [
|
|
{
|
|
'pattern': '@/**',
|
|
'group': 'external',
|
|
'position': 'after'
|
|
}
|
|
],
|
|
}],
|
|
'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.'
|
|
}
|
|
]
|
|
},
|
|
};
|