Skip to content

Commit

Permalink
Properly ignore *.d.ts files from linting
Browse files Browse the repository at this point in the history
  • Loading branch information
caleb531 committed Jun 5, 2024
1 parent 51cfeb1 commit cb5cd49
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*.d.ts
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"build": "rollup -c",
"prepare": "rollup -c",
"watch": "rollup -c -w",
"lint": "eslint src/jcanvas.ts src/jcanvas-*.ts && tsc --noEmit"
"lint": "eslint src/*.ts && tsc --noEmit"
},
"homepage": "https://projects.calebevans.me/jcanvas/",
"author": "Caleb Evans",
Expand Down
1 change: 0 additions & 1 deletion src/jcanvas.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
* Copyright 2024 Caleb Evans
* Released under the MIT license
*/

declare module "jcanvas";
declare module "jcanvas/dist/umd/jcanvas.min.js";
declare module "jcanvas/dist/umd/jcanvas-crescents.min.js";
Expand Down

0 comments on commit cb5cd49

Please sign in to comment.