Sharkey/packages/backend/.eslintrc.cjs

22 lines
408 B
JavaScript
Raw Normal View History

2021-11-12 02:35:41 +01:00
module.exports = {
2021-11-12 02:58:13 +01:00
parserOptions: {
tsconfigRootDir: __dirname,
project: ['./tsconfig.json'],
},
2021-11-12 02:35:41 +01:00
extends: [
'../shared/.eslintrc.js',
2021-11-12 02:35:41 +01:00
],
rules: {
'import/order': ['warn', {
'groups': ['builtin', 'external', 'internal', 'parent', 'sibling', 'index', 'object', 'type'],
'pathGroups': [
{
'pattern': '@/**',
'group': 'external',
'position': 'after'
}
],
}]
},
2021-11-12 02:35:41 +01:00
};