-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy patheslint.config.mjs
33 lines (29 loc) · 1 KB
/
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
import pluginTypescript from 'typescript-eslint'
import pluginUnicorn from 'eslint-plugin-unicorn'
import pluginSolid from 'eslint-plugin-solid/configs/typescript'
import pluginTailwindcss from 'eslint-plugin-tailwindcss'
export default pluginTypescript.config(
...pluginTypescript.configs.recommended,
pluginUnicorn.configs['flat/recommended'],
pluginSolid,
...pluginTailwindcss.configs['flat/recommended'],
{
rules: {
'comma-dangle': [1, 'never'],
'semi': [1, 'never'],
'@typescript-eslint/no-explicit-any': 0,
'@typescript-eslint/no-unused-vars': [1, { argsIgnorePattern: '^_' }],
'unicorn/empty-brace-spaces': 0,
'unicorn/filename-case': 0,
'unicorn/no-empty-file': 0,
'unicorn/no-keyword-prefix': 0,
'unicorn/no-null': 0,
'unicorn/numeric-separators-style': 0,
'unicorn/prefer-node-protocol': 0,
'unicorn/prevent-abbreviations': 0,
'tailwindcss/no-custom-classname': [1, {
whitelist: ['is-active']
}]
}
}
)