-
Notifications
You must be signed in to change notification settings - Fork 14
/
.eslintrc.js
32 lines (31 loc) · 842 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
26
27
28
29
30
31
32
const config = {
env: {
node: true
},
extends: [
'eslint:recommended',
'plugin:@typescript-eslint/recommended',
'plugin:@typescript-eslint/recommended-requiring-type-checking',
'plugin:prettier/recommended'
],
ignorePatterns: ['.eslintrc.js', 'jest.config.js'],
parser: '@typescript-eslint/parser',
parserOptions: {
ecmaVersion: 2020,
project: [
'./integration-tests/tsconfig.eslint.json',
'./modules/issue-manager/tsconfig.eslint.json',
'./modules/broker/tsconfig.eslint.json',
'./modules/runner/tsconfig.eslint.json',
'./modules/shared/tsconfig.eslint.json',
'./tsconfig.json',
],
sourceType: 'module',
tsconfigRootDir: __dirname,
},
rules: {
// a la carte warnings
'no-template-curly-in-string': 'error',
}
}
module.exports = config;