Skip to content

Commit e912948

Browse files
committed
chore: migrate ESLint to @pleaseai/eslint-config
Swap the antfu ESLint config for the @pleaseai/eslint-config wrapper. Relax style/max-statements-per-line and markdown/no-multiple-h1, and ignore .impeccable/.
1 parent 012de3f commit e912948

1 file changed

Lines changed: 9 additions & 2 deletions

File tree

eslint.config.js

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
1-
import antfu from '@antfu/eslint-config'
1+
import pleaseai from '@pleaseai/eslint-config'
22

3-
export default antfu({
3+
export default pleaseai({
44
typescript: true,
55
jsx: false,
66
type: 'lib',
77
ignores: [
88
'dist',
9+
'.impeccable/**',
910
'npm',
1011
'node_modules',
1112
'.please/memory/**',
@@ -20,5 +21,11 @@ export default antfu({
2021
}, {
2122
rules: {
2223
'no-console': 'off',
24+
'style/max-statements-per-line': 'off',
25+
},
26+
}, {
27+
files: ['**/*.md', '**/*.md/**'],
28+
rules: {
29+
'markdown/no-multiple-h1': 'off',
2330
},
2431
})

0 commit comments

Comments
 (0)