fixed compilation related linter problem
This commit is contained in:
parent
9ab2f61b8c
commit
3713c4624a
|
|
@ -1,15 +1,17 @@
|
||||||
/*import antfu from '@antfu/eslint-config'
|
import { defineConfig } from 'eslint-define-config'
|
||||||
|
import antfu from '@antfu/eslint-config'
|
||||||
|
|
||||||
export default antfu(
|
export default defineConfig({
|
||||||
{
|
...antfu,
|
||||||
stylistic: {
|
languageOptions: {
|
||||||
indent: 'tab', // Use tabs for indentation
|
globals: {
|
||||||
quotes: 'single' // Use single quotes
|
es2021: true, // ECMAScript 2021 features (including structuredClone)
|
||||||
},
|
node: true, // Node.js global variables
|
||||||
rules: {
|
}
|
||||||
'style/comma-dangle': ['error', 'never'], // Disallow trailing commas
|
},
|
||||||
'antfu/top-level-function': 'off' // Disallow top-level function declarations
|
rules: {
|
||||||
}
|
...antfu.rules,
|
||||||
}
|
'accessor-pairs': 'off',
|
||||||
)
|
'no-dupe-args': 'error'
|
||||||
*/
|
}
|
||||||
|
})
|
||||||
Loading…
Reference in New Issue