Skip to content

Commit 43223a2

Browse files
authored
feat(jsconfig): highlight JS errors in editors for this project (#14)
1 parent ebb2611 commit 43223a2

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

jsconfig.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"compilerOptions": {
3+
// highlight JS errors in editors for this project
4+
"checkJs": true,
5+
"module": "es2020",
6+
"target": "es2020"
7+
}
8+
}

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
"author": "Gregor Martynus (https://twitter.com/gr2m)",
1616
"license": "ISC",
1717
"scripts": {
18-
"lint": "prettier --check 'lib/*.js' cli.js README.md package.json",
19-
"lint:fix": "prettier --write 'lib/*.js' cli.js README.md package.json",
18+
"lint": "prettier --check 'lib/*.js' cli.js '**/*.md' '**/*.json'",
19+
"lint:fix": "prettier --write 'lib/*.js' cli.js '**/*.md' '**/*.json'",
2020
"test": "npm run lint"
2121
},
2222
"dependencies": {

0 commit comments

Comments
 (0)