mirror of
https://github.com/paricafe/misskey.git
synced 2024-11-25 16:36:44 -06:00
21 lines
408 B
JavaScript
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'
|
|
}
|
|
],
|
|
}]
|
|
},
|
|
};
|