1
0
Fork 1
mirror of https://example.com synced 2024-11-24 21:26:38 +09:00
firefish/packages/backend/.eslintrc.cjs
2022-04-15 15:05:43 +09:00

21 lines
408 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'
}
],
}]
},
};