forked from aki77/simplecov-report-action
-
Notifications
You must be signed in to change notification settings - Fork 0
/
eslint.config.mjs
44 lines (43 loc) · 986 Bytes
/
eslint.config.mjs
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
41
42
43
44
import eslint from '@eslint/js'
import tseslint from 'typescript-eslint'
import globals from 'globals'
export default [
{
ignores: [
'dist/',
'lib/',
'jest.config.js'
]
},
eslint.configs.all,
...tseslint.configs.all,
{
files: ['**/*.{js,mjs,cjs,jsx,mjsx,ts,tsx,mtsx}'],
languageOptions: {
globals: {
...globals.browser,
...globals.node
},
parser: tseslint.parser,
parserOptions: {
project: true,
},
sourceType: 'module'
},
rules: {
'@typescript-eslint/naming-convention': 'off',
'comma-dangle': 'off',
'curly': ['error', 'multi'],
'eslint-comments/no-use': 'off',
'i18n-text/no-en': 'off',
'import/no-namespace': 'off',
'max-lines-per-function': 'off',
'max-statements': 'off',
'one-var': 'off',
'prettier/prettier': 'off',
'semi': 'off',
'sort-import': 'off',
'sort-imports': 'off'
}
}
]