Skip to content

Commit

Permalink
infra: use eslint.config.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
Shinigami92 committed Aug 10, 2024
1 parent 8e9c46c commit cdf54e4
Show file tree
Hide file tree
Showing 3 changed files with 89 additions and 52 deletions.
1 change: 0 additions & 1 deletion eslint.config.js → eslint.config.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
// @ts-check
/* eslint-disable @typescript-eslint/no-unsafe-argument */
import { fixupPluginRules, includeIgnoreFile } from '@eslint/compat';
import eslint from '@eslint/js';
Expand Down
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
"docs:serve": "vitepress serve docs --port 5173",
"docs:diff": "tsx ./scripts/diff.ts",
"format": "prettier --cache --write .",
"lint": "eslint --cache --cache-strategy content .",
"lint": "eslint --cache --cache-strategy content --flag unstable_ts_config .",
"ts-check": "tsc",
"test": "vitest",
"test:update-snapshots": "vitest run -u",
Expand All @@ -99,6 +99,7 @@
"@eslint-types/unicorn": "52.0.0",
"@eslint/compat": "1.1.1",
"@eslint/js": "9.8.0",
"@types/eslint__js": "~8.42.3",
"@types/node": "20.14.14",
"@types/sanitize-html": "2.11.0",
"@types/semver": "7.5.8",
Expand All @@ -116,6 +117,7 @@
"eslint-plugin-prettier": "5.2.1",
"eslint-plugin-unicorn": "55.0.0",
"eslint-plugin-vitest": "0.5.4",
"jiti": "~1.21.6",
"npm-run-all2": "6.2.2",
"prettier": "3.3.3",
"prettier-plugin-organize-imports": "4.0.0",
Expand Down
136 changes: 86 additions & 50 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit cdf54e4

Please sign in to comment.