Skip to content

Commit

Permalink
build(eslint): lint all file types
Browse files Browse the repository at this point in the history
ESLint appears on only lint .js files by default.

I expect this CI build to fail as it reveals linting problems in TypeScript files.

Refs #398, #422
  • Loading branch information
thewilkybarkid committed Nov 2, 2021
1 parent 90585a0 commit ba132cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
},
"scripts": {
"format": "prettier --ignore-unknown --check '**'",
"lint": "eslint --ignore-path .gitignore ./src/backend",
"lint": "eslint --ext .js,.jsx,.ts,.tsx --ignore-path .gitignore ./src/backend",
"test": "jest",
"build": "rimraf dist && npm run build:scripts && npm run build:backend && npm run build:hooks && npm run build:frontend",
"build:dev": "rimraf dist && npm run build:scripts && npm run build:backend:dev && npm run build:hooks && npm run build:frontend:dev",
Expand Down

0 comments on commit ba132cc

Please sign in to comment.