Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Add lint command

dominik-zeglen244fcc1bae73
diff --git a/package.json b/package.json
index 592bccf2ff..5777c3f227 100644
--- a/package.json
+++ b/package.json
@@ -195,6 +195,7 @@
"build-types": "apollo client:codegen --target=typescript types --globalTypesFile=saleor/static/dashboard-next/types/globalTypes.ts",
"generate-component": "plop --plopfile .plop/plopfile.js",
"heroku-postbuild": "npm run build-assets && npm run build-emails",
+ "lint": "tslint 'saleor/static/dashboard-next/**/*.{ts,tsx}'",
"start": "webpack -d --watch",
"build-emails": "mjml --config.beautify false -l skip \"templates/templated_email/source/*.mjml\" -o templates/templated_email/compiled",
"storybook": "start-storybook -p 3000 -c saleor/static/dashboard-next/storybook/",