Skip to content

Commit

Permalink
feat(jsconfig): highlight JS errors in editors for this project (#14)
Browse files Browse the repository at this point in the history
  • Loading branch information
oscard0m authored May 11, 2021
1 parent ebb2611 commit 43223a2
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
8 changes: 8 additions & 0 deletions jsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"compilerOptions": {
// highlight JS errors in editors for this project
"checkJs": true,
"module": "es2020",
"target": "es2020"
}
}
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
"author": "Gregor Martynus (https://twitter.com/gr2m)",
"license": "ISC",
"scripts": {
"lint": "prettier --check 'lib/*.js' cli.js README.md package.json",
"lint:fix": "prettier --write 'lib/*.js' cli.js README.md package.json",
"lint": "prettier --check 'lib/*.js' cli.js '**/*.md' '**/*.json'",
"lint:fix": "prettier --write 'lib/*.js' cli.js '**/*.md' '**/*.json'",
"test": "npm run lint"
},
"dependencies": {
Expand Down

0 comments on commit 43223a2

Please sign in to comment.