forked from slackapi/bolt-js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.test.js
26 lines (26 loc) · 879 Bytes
/
.eslintrc.test.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
module.exports = {
extends: [
'plugin:@typescript-eslint/recommended-requiring-type-checking',
'./eslint-config-base',
],
env: {
commonjs: true,
mocha: true,
},
parser: '@typescript-eslint/parser',
parserOptions: {
project: './tsconfig.test.json',
},
plugins: ['@typescript-eslint'],
rules: {
/* The rules below currently raise errors. They are easy and mostly automated fixes so conforming to them
would be a good idea. Make sure to remove the rules below if you chose to adopt these rules. */
'@typescript-eslint/no-unsafe-member-access': 'off',
'@typescript-eslint/no-unsafe-assignment': 'off',
'@typescript-eslint/require-await': 'off',
'@typescript-eslint/restrict-template-expressions': 'off',
'@typescript-eslint/no-unnecessary-type-assertion': 'warn',
'prefer-rest-params': 'off',
'brace-style': 'off',
},
};