-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.eslintrc.js
40 lines (40 loc) · 1.17 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
39
40
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.config = void 0;
exports.config = {
root: true,
parser: '@typescript-eslint/parser',
parserOptions: {
project: './tsconfig.eslint.json',
sourceType: 'module',
ecmaVersion: 2019,
ecmaFeatures: { jsx: true }
},
extends: [
'eslint:recommended',
'plugin:@typescript-eslint/eslint-recommended',
'react-app'
],
env: {
node: true,
es6: true,
jest: true,
browser: true,
commonjs: true
},
rules: {
// Disable some rules
'@typescript-eslint/no-explicit-any': 'off',
'@typescript-eslint/ban-ts-comment': [
'off',
{ 'ts-expect-error': false, 'ts-ignore': false, 'ts-nocheck': false, 'ts-check': true }
],
'@typescript-eslint/ban-ts-ignore': 'off',
'@typescript-eslint/explicit-function-return-type': 'off',
'@typescript-eslint/explicit-module-boundary-types': 'off'
}
};
module.exports = exports.config;
exports.default = exports.config;
exports.default = exports.config;
//# sourceMappingURL=index.js.map