From a63b84e748e4e7c290b58c92be2f2324e4830519 Mon Sep 17 00:00:00 2001 From: Bouncey Date: Sat, 16 Feb 2019 08:20:27 +0000 Subject: [PATCH] feat: Lint client --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 0e3628d318..80fe2b441a 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,7 @@ "ensure-env": "cross-env DEBUG=fcc:* node ./tools/scripts/ensure-env.js", "lint": "npm-run-all -p lint:*", "lint:api": "eslint api-server --ignore-pattern 'api-server/node_modules/**/*.js' --ignore-pattern 'api-server/public/js/**/*.js' --ignore-pattern 'api-server/lib/**/*.js'", - "lint:client": "echo 'Warning: TODO - Define Linting with fixing.'", + "lint:client": "eslint client --ignore-pattern 'client/node_modules/**/*.js' --ignore-pattern 'client/plugins/**/node_modules/**/*.js' --ignore-pattern 'client/.cache/**/*.js' --ignore-pattern 'client/public/**/*.js' --ignore-pattern 'client/static/js/*.js' --ignore-pattern 'client/static/js/*.js.map'", "lint:config": "echo 'Warning: TODO - Define Linting with fixing.'", "lint:curriculum": "echo 'Warning: TODO - Define Linting with fixing.'", "lint:tools": "echo 'Warning: TODO - Define Linting with fixing.'",