Skip to content

Commit d6cd672

Browse files
committed
ci: self-lint eslint config style
1 parent 1683c2e commit d6cd672

File tree

2 files changed

+9
-8
lines changed

2 files changed

+9
-8
lines changed

.prettierignore

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
/eslint.config.*js
12
/LICENSE.md
23
/renovate.json
34

eslint.config.mjs

+8-8
Original file line numberDiff line numberDiff line change
@@ -8,26 +8,26 @@ export default [
88
pluginCypress.configs.recommended,
99
{
1010
name: 'global-ignores',
11-
ignores: ['dist/', 'examples/nextjs/src/app/']
11+
ignores: ['dist/', 'examples/nextjs/src/app/'],
1212
},
1313
{
1414
name: 'all-js',
1515
languageOptions: {
1616
globals: {
1717
...globals.browser,
18-
...globals.node
19-
}
20-
}
18+
...globals.node,
19+
},
20+
},
2121
},
2222
{
23-
name: 'examples-style',
24-
files: ['examples/**/*.js'],
23+
name: 'style',
24+
files: ['eslint.config.mjs', 'examples/**/*.js'],
2525
...stylistic.configs.recommended,
2626
rules: {
2727
'@stylistic/indent': ['error', 2],
2828
'@stylistic/comma-dangle': ['error', 'always-multiline'],
2929
'@stylistic/quotes': ['error', 'single'],
3030
'@stylistic/semi': ['error', 'never'],
31-
}
32-
}
31+
},
32+
},
3333
]

0 commit comments

Comments
 (0)