mirror of
https://github.com/misskey-dev/misskey
synced 2024-11-25 15:46:39 +09:00
22 lines
408 B
JavaScript
22 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'
|
|
}
|
|
],
|
|
}]
|
|
},
|
|
};
|