mirror of
https://github.com/tabler/tabler.git
synced 2026-10-12 05:06:55 +04:00
Add ESLint with typescript-eslint and fix its findings (#3256)
This commit is contained in:
1 parent
0e90f8fd16
commit
6394af0a59
40 files changed
+935
-339
No files matched your search
+11
-3
@@ -34,8 +34,10 @@
|
||||
"check:open-source": "tsx .build/check-open-source.ts",
|
||||
"check:html": "tsx .build/check-html.ts",
|
||||
"check:markup-classes": "tsx .build/check-markup-classes.ts",
|
||||
"lint": "pnpm run lint:md && pnpm run check:docs-links && pnpm run lint:prettier && pnpm run lint:scss && pnpm run check:css-vars && pnpm run check:open-source && pnpm run check:tokens",
|
||||
"lint:fix": "pnpm run lint:md:fix && pnpm run lint:scss:fix && pnpm run format:prettier",
|
||||
"lint": "pnpm run lint:md && pnpm run check:docs-links && pnpm run lint:prettier && pnpm run lint:js && pnpm run lint:scss && pnpm run check:css-vars && pnpm run check:open-source && pnpm run check:tokens",
|
||||
"lint:fix": "pnpm run lint:md:fix && pnpm run lint:js:fix && pnpm run lint:scss:fix && pnpm run format:prettier",
|
||||
"lint:js": "eslint --cache --cache-location .cache/eslint/",
|
||||
"lint:js:fix": "eslint --fix --cache --cache-location .cache/eslint/",
|
||||
"lint:scss": "pnpm --filter @tabler/core lint",
|
||||
"lint:scss:fix": "pnpm --filter @tabler/core lint:scss:fix",
|
||||
"lint:md": "markdownlint --config .markdownlint-docs.json \"docs/content/**/*.mdx\"",
|
||||
@@ -56,6 +58,8 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@changesets/cli": "^3.0.1",
|
||||
"@eslint/compat": "^2.1.1",
|
||||
"@eslint/js": "^10.0.1",
|
||||
"@mdx-js/mdx": "^3.1.1",
|
||||
"@stylistic/stylelint-config": "^2.0.0",
|
||||
"@tabler/icons": "^3.48.0",
|
||||
@@ -66,8 +70,11 @@
|
||||
"clean-css": "^5.3.3",
|
||||
"concurrently": "^10.0.5",
|
||||
"cross-env": "^10.1.0",
|
||||
"eslint": "^10.11.0",
|
||||
"eslint-plugin-astro": "^3.2.1",
|
||||
"github-slugger": "^2.0.0",
|
||||
"glob": "^13.0.6",
|
||||
"globals": "^17.12.0",
|
||||
"js-beautify": "^2.0.3",
|
||||
"markdownlint-cli": "^0.49.1",
|
||||
"nodemon": "^3.1.14",
|
||||
@@ -84,7 +91,8 @@
|
||||
"terser": "^5.51.2",
|
||||
"tsx": "^4.23.13",
|
||||
"turbo": "2.10.12",
|
||||
"typescript": "^7.0.2",
|
||||
"typescript": "^6.0.3",
|
||||
"typescript-eslint": "^8.71.0",
|
||||
"vite": "^8.2.2"
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user