Skip to content

Commit a689ae7

Browse files
committed
cleanup
1 parent 33d8e9a commit a689ae7

File tree

4 files changed

+8
-5
lines changed

4 files changed

+8
-5
lines changed

.eslintrc.cjs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,12 @@
11
module.exports = {
22
root: true,
33
parser: '@typescript-eslint/parser',
4-
extends: ['eslint:recommended', 'plugin:@typescript-eslint/recommended', 'prettier'],
4+
extends: [
5+
'eslint:recommended',
6+
'plugin:@typescript-eslint/recommended',
7+
'prettier',
8+
'plugin:deprecation/recommended',
9+
],
510
plugins: ['svelte', '@typescript-eslint'],
611
ignorePatterns: ['*.cjs'],
712
overrides: [

.npmrc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
11
engine-strict=true
2-
auto-install-peers=false

.prettierrc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
"trailingComma": "es5",
55
"printWidth": 100,
66
"plugins": ["prettier-plugin-svelte"],
7-
"pluginSearchDirs": ["."],
87
"overrides": [
98
{
109
"files": "*.svelte",

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@
4747
"preview": "vite preview",
4848
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
4949
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
50-
"lint": "prettier --plugin-search-dir . --check . && eslint .",
51-
"format": "prettier --plugin-search-dir . --write .",
50+
"lint": "prettier --check . && eslint .",
51+
"format": "prettier --write .",
5252
"post:build": "node post-build.mjs"
5353
},
5454
"engines": {

0 commit comments

Comments
 (0)