Skip to content

Commit c9715c2

Browse files
chore: use js file for eslint (#256)
1 parent a9c2fd7 commit c9715c2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

eslint.config.ts renamed to eslint.config.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
import antfu from '@antfu/eslint-config'
22

3+
// We temporarily disable `eslint.config.ts` which given by `eslint-ts-patch`
4+
// Related: https://github.com/antfu/eslint-ts-patch/issues/5
35
export default antfu({
46
// force enable vue and typescript rules
57
vue: true,
@@ -17,7 +19,7 @@ export default antfu({
1719
'vue/no-v-text-v-html-on-component': 'off',
1820

1921
'no-console': 'off',
20-
'antfu/top-level-function': 'off' as any, // type error from @antfu/eslint-config
22+
'antfu/top-level-function': 'off',
2123
'unused-imports/no-unused-vars': 'off',
2224

2325
'node/prefer-global/process': 'off',

0 commit comments

Comments
 (0)