Skip to content

Commit 01eb545

Browse files
authored
Merge pull request #20 from Tresjs/feature/ignores-and-max-statements-per-line
feat: added ignores and turn off `style/max-statements-per-line` rule
2 parents d0ea243 + 2581376 commit 01eb545

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

src/rules/antfu.ts

+7
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,13 @@ const antfuConfig = {
22
stylistic: true,
33
// vue: true, // autodetected by @antfu/eslint-config, no need to set a default
44
// typescript: true, // autodetected by @antfu/eslint-config, no need to set a default
5+
ignores: [
6+
'**/dist/**',
7+
'sponsorkit/**',
8+
'node_modules/**',
9+
'coverage/**',
10+
'**/public/**',
11+
],
512
formatters: {
613
css: true,
714
html: true,

src/rules/base.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
const baseConfig = [
2-
32
// General Rules
43
{
54
name: 'tres:general',
@@ -9,6 +8,8 @@ const baseConfig = [
98
'node/prefer-global/process': 'off',
109
'antfu/top-level-function': 'off',
1110
'perfectionist/sort-imports': 'off',
11+
'style/max-statements-per-line': 'off',
12+
'jsdoc/check-alignment': 'off',
1213
},
1314
},
1415

0 commit comments

Comments
 (0)