Skip to content

Commit cc33a9a

Browse files
Update lint command
1 parent e8388e1 commit cc33a9a

File tree

3 files changed

+2
-9
lines changed

3 files changed

+2
-9
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ Check the [docs](https://date-picker-svelte.kasper.space/docs) to learn more
5959
1. Update `CHANGELOG.md`
6060
2. Check for errors
6161
```
62-
npm run check
62+
npm run lint
6363
```
6464
3. Bump the version number
6565
```

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@
99
"build:package": "svelte-kit package",
1010
"build:site": "vite build",
1111
"preview": "vite preview",
12-
"check": "svelte-check --tsconfig ./tsconfig.json",
13-
"lint": "prettier --check --plugin-search-dir=. src *.js && eslint src *.js",
12+
"lint": "prettier --check --plugin-search-dir=. src *.js && eslint src *.js && svelte-check",
1413
"format": "prettier --write --plugin-search-dir=. src *.js && eslint --fix src *.js",
1514
"test": "jest tests",
1615
"test:coverage": "jest --collect-coverage --collectCoverageFrom=src/lib/**"

tsconfig.json

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,7 @@
11
{
22
"extends": "./.svelte-kit/tsconfig.json",
33
"compilerOptions": {
4-
"allowJs": true,
5-
"checkJs": true,
6-
"esModuleInterop": true,
7-
"forceConsistentCasingInFileNames": true,
84
"resolveJsonModule": true,
9-
"skipLibCheck": true,
10-
"sourceMap": true,
115
"strict": true
126
}
137
}

0 commit comments

Comments
 (0)