forked from eclipse-glsp/glsp-theia-integration
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.js
25 lines (24 loc) · 802 Bytes
/
.eslintrc.js
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: {
'no-restricted-imports': [
'warn',
{
name: 'sprotty',
message: "The sprotty default exports are customized and reexported by GLSP. Please use '@eclipse-glsp/client' instead"
},
{
name: 'sprotty-protocol',
message:
"The sprotty-protocol default exports are customized and reexported by GLSP. Please use '@eclipse-glsp/client' instead"
}
]
}
};