Skip to content

Commit 611e5ce

Browse files
committed
Update ESLint and Prettier configurations.
1 parent 30abb6c commit 611e5ce

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

.eslintignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
dist
2-
vitest.config.ts
2+
vitest.config.ts
3+
.eslintrc.js

.eslintrc.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ module.exports = defineConfig({
1717
},
1818
rules: {
1919
quotes: ['error', 'single'],
20-
semi: ['error', 'never'],
20+
semi: 'off',
2121
'no-debugger': ['error'],
2222
'no-empty': ['warn', { allowEmptyCatch: true }],
2323
'no-process-exit': 'off',

.prettierrc.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,6 @@
22
"trailingComma": "es5",
33
"printWidth": 120,
44
"singleQuote": true,
5-
"arrowParens": "avoid"
5+
"arrowParens": "avoid",
6+
"semi": true
67
}

0 commit comments

Comments
 (0)