forked from HospitalRun/hospitalrun-server
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.js
31 lines (31 loc) · 1.04 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
module.exports = {
ignorePatterns: ['bin', 'commitlint.config.js'],
extends: [
'plugin:@typescript-eslint/recommended',
'prettier',
'prettier/@typescript-eslint',
'plugin:prettier/recommended',
],
parser: '@typescript-eslint/parser',
parserOptions: {
project: ['./tsconfig.json', './test/tsconfig.json'],
tsconfigRootDir: './',
},
plugins: ['@typescript-eslint', 'prettier'],
rules: {
'arrow-body-style': ['warn', 'as-needed'],
'react/jsx-one-expression-per-line': 'off',
'react/jsx-wrap-multilines': 'off',
'no-param-reassign': ['error', { props: false }],
'import/prefer-default-export': 'off',
curly: ['error', 'all'],
'eol-last': ['error', 'always'],
'no-debugger': 'error',
'import/no-unresolved': 'off',
'@typescript-eslint/unified-signatures': 'error',
'@typescript-eslint/member-delimiter-style': 'off',
'@typescript-eslint/explicit-function-return-type': 'off',
'@typescript-eslint/no-explicit-any': 'off',
'@typescript-eslint/no-unused-vars': 'off',
},
}