mirror of
https://github.com/CommunitySolidServer/CommunitySolidServer.git
synced 2024-10-03 14:55:10 +00:00
23 lines
561 B
JavaScript
23 lines
561 B
JavaScript
module.exports = {
|
|
root: true,
|
|
parser: '@typescript-eslint/parser',
|
|
parserOptions: {
|
|
tsconfigRootDir: __dirname, // this is the reason this is a .js file
|
|
project: ['./tsconfig.json'],
|
|
},
|
|
plugins: [
|
|
'prettier',
|
|
'eslint-plugin-tsdoc',
|
|
],
|
|
extends: [
|
|
'es/node',
|
|
'prettier', // disables rules from the above that conflict with prettier
|
|
'plugin:prettier/recommended', // adds prettier rules
|
|
],
|
|
rules: {
|
|
'@typescript-eslint/no-empty-interface': 'off',
|
|
"sort-imports": "error",
|
|
'tsdoc/syntax': 'error',
|
|
},
|
|
};
|