Skip to content

Commit cf5da16

Browse files
chore: minor housekeeping 🧽
Signed-off-by: Vinayak Kulkarni <[email protected]>
1 parent 95c51c0 commit cf5da16

File tree

3 files changed

+30
-42
lines changed

3 files changed

+30
-42
lines changed

Diff for: shims/vue.d.ts

-7
This file was deleted.

Diff for: stylelint.config.cjs

+13-7
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,17 @@
11
module.exports = {
2+
plugins: ['stylelint-prettier'],
23
extends: [
3-
'stylelint-config-prettier',
4-
'stylelint-config-standard',
5-
'stylelint-config-recommended',
4+
'stylelint-prettier/recommended',
5+
'stylelint-config-recommended-vue',
66
],
7-
ignoreFiles: ['node_modules/*', 'src/assets/**', 'build/**'],
8-
defaultSeverity: 'error',
9-
customSyntax: 'postcss-html',
10-
rules: {},
7+
ignoreFiles: ['node_modules/*', 'src/assets/**'],
8+
rules: {
9+
'prettier/prettier': [
10+
true,
11+
{
12+
singleQuote: true,
13+
tabWidth: 2,
14+
},
15+
],
16+
},
1117
};

Diff for: tsconfig.json

+17-28
Original file line numberDiff line numberDiff line change
@@ -2,43 +2,32 @@
22
"compilerOptions": {
33
"target": "esnext",
44
"module": "esnext",
5+
"strict": true,
6+
"importHelpers": true,
57
"moduleResolution": "node",
8+
"skipLibCheck": true,
9+
"esModuleInterop": true,
10+
"allowSyntheticDefaultImports": true,
11+
"sourceMap": true,
12+
"allowJs": true,
13+
"noEmit": false,
14+
"resolveJsonModule": true,
15+
"experimentalDecorators": true,
16+
"baseUrl": ".",
17+
"outDir": "./dist",
18+
"jsx": "preserve",
619
"lib": [
720
"esnext",
821
"dom",
922
"dom.iterable",
1023
"scripthost",
1124
"esnext.asynciterable"
1225
],
13-
"outDir": "./dist",
14-
"esModuleInterop": true,
15-
"allowJs": true,
16-
"sourceMap": true,
17-
"strict": true,
18-
"noEmit": false,
19-
"skipLibCheck": true,
20-
"resolveJsonModule": true,
21-
"experimentalDecorators": true,
22-
"baseUrl": ".",
2326
"paths": {
2427
"~/*": ["./*"],
25-
"@/*": ["./src/*"]
26-
},
27-
"types": [
28-
"@types/node",
29-
"@vitejs/plugin-vue",
30-
"vite",
31-
"vue"
32-
]
28+
"@/*": ["src/*"]
29+
}
3330
},
34-
"include": [
35-
"src",
36-
"build",
37-
"shims",
38-
"types"
39-
],
40-
"exclude": [
41-
"node_modules",
42-
"dist"
43-
]
31+
"include": ["src", "shims"],
32+
"exclude": ["node_modules", "dist"]
4433
}

0 commit comments

Comments
 (0)