forked from comunica/sparqlee
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.js
38 lines (36 loc) · 1.01 KB
/
.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
26
27
28
29
30
31
32
33
34
35
36
37
38
module.exports = {
root: true,
parser: '@typescript-eslint/parser',
parserOptions: {
tsconfigRootDir: __dirname, // this is the reason this is a .js file
project: ['./tsconfig.eslint.json'],
},
extends: [
'@rubensworks'
],
rules: {
'no-implicit-coercion': 'off',
// should stay off
'mocha/no-exports': 'off',
'mocha/no-skipped-tests': 'off',
'no-sync': 'off',
// Issue #95 pointed out this can be disabled here. https://eslint.org/docs/rules/no-implicit-globals
'no-implicit-globals': 'off',
// 'At' is not yet supported by nodejs when disabling this.
'unicorn/prefer-at': 'off',
},
overrides: [
{
files: ['**/bin/*.ts'],
rules: {
'unicorn/prefer-top-level-await': 'off',
},
},
{
files: ['**/test/**/*.ts'],
rules: {
'no-implicit-globals': 'off',
},
}
],
};