From ba132ccae0325c0568392b64238b0eda05c19f02 Mon Sep 17 00:00:00 2001 From: Chris Wilkinson Date: Tue, 2 Nov 2021 15:54:22 +0000 Subject: [PATCH] build(eslint): lint all file types 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 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 8141c98e..6fde5d39 100644 --- a/package.json +++ b/package.json @@ -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",