Skip to content

Commit

Permalink
chore: update eslint config
Browse files Browse the repository at this point in the history
  • Loading branch information
ArcherGu committed Nov 6, 2023
1 parent 7b2260d commit 0c50a86
Show file tree
Hide file tree
Showing 9 changed files with 799 additions and 399 deletions.
2 changes: 0 additions & 2 deletions .eslintignore

This file was deleted.

14 changes: 0 additions & 14 deletions .eslintrc.json

This file was deleted.

30 changes: 30 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
// @ts-check
const lightwing = require('@lightwing/eslint-config').default

module.exports = lightwing(
{
ignores: [
'dist',
'node_modules',
'*.svelte',
'*.snap',
'*.d.ts',
'coverage',
'js_test',
'local-data',
],
},
{
rules: {
'node/prefer-global/process': 'off',
},
},
{
files: [
'src/main/**/*.ts',
],
rules: {
'ts/consistent-type-imports': 'off',
},
},
)
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"vue": "^3.3.7"
},
"devDependencies": {
"@lightwing/eslint-config": "0.0.24",
"@lightwing/eslint-config": "1.0.1",
"@vitejs/plugin-vue": "4.4.0",
"@vue/compiler-sfc": "3.3.7",
"@vue/test-utils": "2.4.1",
Expand Down
Loading

0 comments on commit 0c50a86

Please sign in to comment.