diff --git a/components/application-mgt/org.wso2.carbon.device.application.mgt.store.ui/react-app/.prettierrc b/components/application-mgt/org.wso2.carbon.device.application.mgt.store.ui/react-app/.prettierrc new file mode 100644 index 00000000000..d281e2bd550 --- /dev/null +++ b/components/application-mgt/org.wso2.carbon.device.application.mgt.store.ui/react-app/.prettierrc @@ -0,0 +1,5 @@ +{ + "singleQuote": true, + "trailingComma": "all", + "parser": "flow" +} diff --git a/components/application-mgt/org.wso2.carbon.device.application.mgt.store.ui/react-app/package.json b/components/application-mgt/org.wso2.carbon.device.application.mgt.store.ui/react-app/package.json index 2c51b2b550a..db8ec651f86 100644 --- a/components/application-mgt/org.wso2.carbon.device.application.mgt.store.ui/react-app/package.json +++ b/components/application-mgt/org.wso2.carbon.device.application.mgt.store.ui/react-app/package.json @@ -90,6 +90,7 @@ "build_prod": "NODE_ENV=production NODE_OPTIONS=--max_old_space_size=4096 webpack -p --display errors-only --hide-modules", "build_dev": "NODE_ENV=development webpack -d --watch ", "server": "node-env-run server --exec nodemon | pino-colada", - "dev2": "run-p server start" + "dev2": "run-p server start", + "lint": "eslint \"src/**/*.js\"" } }