Skip to content

Commit cc6099f

Browse files
authoredSep 21, 2024··
chore: standardize file name capitalization (#167)
1 parent db4b81c commit cc6099f

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

68 files changed

+470
-477
lines changed
 

‎eslint.config.mjs

+21-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import unjs from 'eslint-config-unjs';
33
export default unjs({
44
rules: {
55
'@typescript-eslint/naming-convention': 'off',
6-
"@typescript-eslint/no-duplicate-enum-values": 'off',
6+
'@typescript-eslint/no-duplicate-enum-values': 'off',
77
'@typescript-eslint/semi': 'off',
88
'curly': ['error', 'all'],
99
'eqeqeq': 'warn',
@@ -23,6 +23,26 @@ export default unjs({
2323
'prefer-const': ['error', { destructuring: 'any', ignoreReadBeforeAssign: false }],
2424
'require-await': 'error',
2525
'sort-imports': ['error', { ignoreDeclarationSort: true }],
26+
'no-unused-vars': 'off',
27+
'@typescript-eslint/no-unused-vars': 'off',
28+
'no-template-curly-in-string': 'off',
29+
'array-callback-return': 'off',
30+
'camelcase': 'off',
31+
'no-console': 'off',
32+
'quotes': ['error', 'single'],
33+
'comma-spacing': ['error', { before: false, after: true }],
34+
'keyword-spacing': ['error', { before: true, after: true }],
35+
'space-before-function-paren': ['error', 'always'],
36+
'object-curly-spacing': ['error', 'always'],
37+
'arrow-spacing': ['error', { before: true, after: true }],
38+
'key-spacing': ['error', { beforeColon: false, afterColon: true, mode: 'strict' }],
39+
'space-before-blocks': ['error', 'always'],
40+
'space-infix-ops': ['error', { int32Hint: false }],
41+
'@typescript-eslint/no-explicit-any': 'off',
42+
'@typescript-eslint/ban-types': 'off',
43+
'@typescript-eslint/ban-ts-comment': 'off',
44+
'@typescript-eslint/no-extraneous-class': 'off',
45+
'comma-dangle': 'off',
2646
},
2747
ignores: [
2848
'out',

‎knip.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ const config: KnipConfig = {
1313
ignoreDependencies: ['ofetch', '@types/vscode-webview', 'prettier', 'prettier-plugin-tailwindcss'],
1414
ignore: ['build/**', 'prettier.config.ts'],
1515
vite: {
16-
"config": [
17-
"vite.config.ts"
16+
'config': [
17+
'vite.config.ts'
1818
]
1919
}
2020
}

0 commit comments

Comments
 (0)
Please sign in to comment.