mirror of
https://github.com/CommunitySolidServer/CommunitySolidServer.git
synced 2024-10-03 14:55:10 +00:00

Certain prettier rules were conflicting with those of eslint-config-es, so it will be removed until we discover cases where it would actually be needed, since most of it seems to already be covered.
20 lines
410 B
JavaScript
20 lines
410 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: [
|
|
'eslint-plugin-tsdoc',
|
|
],
|
|
extends: [
|
|
'es/node',
|
|
],
|
|
rules: {
|
|
'@typescript-eslint/no-empty-interface': 'off',
|
|
"sort-imports": "error",
|
|
'tsdoc/syntax': 'error',
|
|
},
|
|
};
|