forked from eclipse-glsp/glsp-server-node
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.eslintrc.js
More file actions
25 lines (24 loc) · 717 Bytes
/
Copy path.eslintrc.js
File metadata and controls
25 lines (24 loc) · 717 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
/** @type {import('eslint').Linter.Config} */
module.exports = {
root: true,
extends: '@eclipse-glsp',
ignorePatterns: ['**/{node_modules,lib}', '**/.eslintrc.js'],
parserOptions: {
tsconfigRootDir: __dirname,
project: 'tsconfig.eslint.json'
},
rules: {
'@typescript-eslint/no-shadow': 'off',
'no-restricted-imports': [
'warn',
{
name: 'sprotty-protocol',
message:
"The sprotty-protocol default exports are customized and reexported by GLSP. Please import from '@eclipse-glsp/protocol' instead"
},
'.',
'..',
'../..'
]
}
};