Skip to content

Commit

Permalink
lint:fix
Browse files Browse the repository at this point in the history
  • Loading branch information
MrVauxs committed Jul 22, 2024
1 parent 44a1561 commit d5a6d57
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
},
"devDependencies": {
"@antfu/eslint-config": "^2.21.2",
"keep-a-changelog": "^2.5.3",
"@rollup/plugin-node-resolve": "^15.2.3",
"@sveltejs/vite-plugin-svelte": "^3.1.1",
"@tsconfig/svelte": "^5.0.4",
Expand All @@ -33,6 +32,7 @@
"eslint-plugin-format": "^0.1.2",
"eslint-plugin-svelte": "^2.41.0",
"foundry-pf2e": "github:reonZ/foundry-pf2e",
"keep-a-changelog": "^2.5.3",
"lodash": "^4.17.21",
"postcss": "^8.4.35",
"postcss-minify": "^1.1.0",
Expand Down
16 changes: 9 additions & 7 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,14 +91,16 @@ export default defineConfig(({ command: _buildOrServe }) => ({
},

plugins: [
process.env.IGNORE_CHECKER ? undefined : checker({
typescript: true,
eslint: {
useFlatConfig: true,
lintCommand: 'eslint',
},
process.env.IGNORE_CHECKER
? undefined
: checker({
typescript: true,
eslint: {
useFlatConfig: true,
lintCommand: 'eslint',
},
// svelte https://github.com/fi3ework/vite-plugin-checker/issues/370
}),
}),
tsconfigPaths(),
svelte({
compilerOptions: {
Expand Down

0 comments on commit d5a6d57

Please sign in to comment.