Skip to content

Commit 4f82915

Browse files
authored
Merge pull request #143 from vue-pivottable/ts-lint
chore(lint): add typescript-lint #142
2 parents 9942885 + daea8ba commit 4f82915

File tree

3 files changed

+132
-37
lines changed

3 files changed

+132
-37
lines changed

eslint.config.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import { defineConfig } from 'eslint/config'
22
import standardjs from '@seungwoo321/eslint-plugin-standard-js'
3+
import tseslint from 'typescript-eslint'
34
import pluginVue from 'eslint-plugin-vue'
45

56
export default defineConfig([
@@ -14,9 +15,10 @@ export default defineConfig([
1415
]
1516
},
1617
{
17-
files: ['**/*.{js,mjs,cjs,vue}', 'eslint.config.js'],
18+
files: ['**/*.{js,mjs,cjs,vue,ts}', 'eslint.config.js'],
1819
extends: [
1920
...standardjs.configs.recommended,
21+
...tseslint.configs.recommended,
2022
...pluginVue.configs['flat/strongly-recommended']
2123
],
2224
rules: {

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@
8989
"rimraf": "^6.0.1",
9090
"semantic-release": "^24.2.3",
9191
"typescript": "^5.8.3",
92+
"typescript-eslint": "^8.33.1",
9293
"vite": "^6.3.4",
9394
"vite-plugin-dts": "^4.5.3",
9495
"vite-plugin-static-copy": "^2.3.1",

pnpm-lock.yaml

Lines changed: 128 additions & 36 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)