mirror of
https://github.com/CommunitySolidServer/CommunitySolidServer.git
synced 2024-10-03 14:55:10 +00:00
25 lines
723 B
JavaScript
25 lines
723 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',
|
|
'@typescript-eslint/space-before-function-paren': [ 'error', 'never' ],
|
|
'class-methods-use-this': 'off',
|
|
'comma-dangle': ['error', 'always-multiline'],
|
|
'dot-location': ['error', 'property'],
|
|
'lines-between-class-members': ['error', 'always', { exceptAfterSingleLine: true }],
|
|
'padding-line-between-statements': 'off',
|
|
'tsdoc/syntax': 'error',
|
|
},
|
|
};
|