Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Added lint task to all node projects #4774

Merged
merged 1 commit into from
Aug 13, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
"debug": "set NODE_ENV=debug&&webpack -p",
"webpack": "webpack-dev-server -d --port 8080 --hot --inline --content-base dist/ --history-api-fallback",
"watch": "set NODE_ENV=debug & webpack --mode=development --progress --colors --watch",
"analyze": "set NODE_ENV=production&&webpack -p --json | webpack-bundle-size-analyzer"
"analyze": "set NODE_ENV=production&&webpack -p --json | webpack-bundle-size-analyzer",
"lint": "eslint --fix"
},
"author": "",
"license": "MIT",
Expand Down
3 changes: 2 additions & 1 deletion Dnn.AdminExperience/ClientSide/AdminLogs.Web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
"debug": "set NODE_ENV=debug&&webpack -p",
"webpack": "webpack-dev-server -d --port 8080 --hot --inline --content-base dist/ --history-api-fallback",
"watch": "set NODE_ENV=debug & webpack --mode=development --progress --colors --watch",
"analyze": "set NODE_ENV=production&&webpack -p --json | webpack-bundle-size-analyzer"
"analyze": "set NODE_ENV=production&&webpack -p --json | webpack-bundle-size-analyzer",
"lint": "eslint --fix"
},
"devDependencies": {
"@babel/core": "^7.1.6",
Expand Down
3 changes: 2 additions & 1 deletion Dnn.AdminExperience/ClientSide/Bundle.Web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
"debug": "set NODE_ENV=debug&&webpack -p --progress",
"watch": "set NODE_ENV=debug & webpack --mode=development --progress --colors --watch",
"webpack": "webpack-dev-server -d --port 8070 --hot --inline --content-base dist/ --history-api-fallback",
"analyze": "set NODE_ENV=production&&webpack --config webpack.config.js --profile --json > stats.json&&webpack-bundle-analyzer stats.json"
"analyze": "set NODE_ENV=production&&webpack --config webpack.config.js --profile --json > stats.json&&webpack-bundle-analyzer stats.json",
"lint": "eslint --fix"
},
"devDependencies": {
"@babel/core": "^7.1.6",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"Persona Bar"
],
"scripts": {
"eslint": "eslint ./src/**/*.jsx --fix",
"lint": "eslint --fix",
"test": "echo \"No tests script specified to run.\"",
"build": "set NODE_ENV=production && webpack -p --config dist.webpack.config.js",
"debug": "set NODE_ENV=debug && webpack -p --config dist.webpack.config.js",
Expand Down
3 changes: 2 additions & 1 deletion Dnn.AdminExperience/ClientSide/Pages.Web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
"debug": "set NODE_ENV=debug&&webpack -p",
"webpack": "webpack-dev-server --host localhost -d --port 8080 --hot --inline --content-base dist/ --history-api-fallback",
"watch": "set NODE_ENV=debug & webpack --mode=development --progress --colors --watch",
"analyze": "set NODE_ENV=production&&webpack -p --json | webpack-bundle-size-analyzer"
"analyze": "set NODE_ENV=production&&webpack -p --json | webpack-bundle-size-analyzer",
"lint": "eslint --fix"
},
"jest": {
"setupTestFrameworkScriptFile": "./src/jest.config.js"
Expand Down
3 changes: 2 additions & 1 deletion Dnn.AdminExperience/ClientSide/Prompt.Web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
"webpack": "webpack-dev-server -d --port 8100 --hot --inline --content-base dist/ --history-api-fallback",
"watch": "set NODE_ENV=debug & webpack --mode=development --progress --colors --watch",
"analyze": "set NODE_ENV=analyze&&webpack-dev-server -d --port 8100 --hot --inline --content-base dist/ --history-api-fallback",
"test": "jest"
"test": "jest",
"lint": "eslint --fix"
},
"devDependencies": {
"@babel/core": "^7.1.6",
Expand Down
3 changes: 2 additions & 1 deletion Dnn.AdminExperience/ClientSide/Roles.Web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
"debug": "set NODE_ENV=debug&&webpack -p",
"webpack": "webpack-dev-server -d --port 8080 --hot --inline --content-base dist/ --history-api-fallback",
"watch": "set NODE_ENV=debug & webpack --mode=development --progress --colors --watch",
"analyze": "set NODE_ENV=production&&webpack -p --json | webpack-bundle-size-analyzer"
"analyze": "set NODE_ENV=production&&webpack -p --json | webpack-bundle-size-analyzer",
"lint": "eslint --fix"
},
"devDependencies": {
"@babel/core": "^7.1.6",
Expand Down
3 changes: 2 additions & 1 deletion Dnn.AdminExperience/ClientSide/Security.Web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
"debug": "set NODE_ENV=debug&&webpack -p",
"webpack": "webpack-dev-server -d --host localhost --port 8080 --hot --inline --content-base dist/ --history-api-fallback",
"watch": "set NODE_ENV=debug & webpack --mode=development --progress --colors --watch",
"analyze": "set NODE_ENV=production&&webpack -p --json | webpack-bundle-size-analyzer"
"analyze": "set NODE_ENV=production&&webpack -p --json | webpack-bundle-size-analyzer",
"lint": "eslint --fix"
},
"devDependencies": {
"@babel/core": "^7.2.0",
Expand Down
3 changes: 2 additions & 1 deletion Dnn.AdminExperience/ClientSide/Seo.Web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
"debug": "set NODE_ENV=debug&&webpack -p",
"webpack": "webpack-dev-server -d --port 8080 --hot --inline --content-base dist/ --history-api-fallback",
"watch": "set NODE_ENV=debug & webpack --mode=development --progress --colors --watch",
"analyze": "set NODE_ENV=production&&webpack -p --json | webpack-bundle-size-analyzer"
"analyze": "set NODE_ENV=production&&webpack -p --json | webpack-bundle-size-analyzer",
"lint": "eslint --fix"
},
"devDependencies": {
"@babel/core": "^7.1.6",
Expand Down
3 changes: 2 additions & 1 deletion Dnn.AdminExperience/ClientSide/Servers.Web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
"debug": "set NODE_ENV=debug&&webpack -p",
"webpack": "webpack-dev-server -d --port 8080 --hot --inline --content-base dist/ --history-api-fallback",
"watch": "set NODE_ENV=debug & webpack --mode=development --progress --colors --watch",
"analyze": "set NODE_ENV=production&&webpack -p --json | webpack-bundle-size-analyzer"
"analyze": "set NODE_ENV=production&&webpack -p --json | webpack-bundle-size-analyzer",
"lint": "eslint --fix"
},
"devDependencies": {
"@babel/core": "^7.1.6",
Expand Down
3 changes: 2 additions & 1 deletion Dnn.AdminExperience/ClientSide/SiteGroups.Web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
"debug": "set NODE_ENV=debug&&webpack -p",
"webpack": "webpack-dev-server -d --port 8080 --hot --inline --content-base dist/ --history-api-fallback",
"watch": "set NODE_ENV=debug & webpack --mode=development --progress --colors --watch",
"analyze": "set NODE_ENV=production&&webpack -p --json | webpack-bundle-size-analyzer"
"analyze": "set NODE_ENV=production&&webpack -p --json | webpack-bundle-size-analyzer",
"lint": "eslint --fix"
},
"devDependencies": {
"@babel/core": "7.1.6",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
"debug": "set NODE_ENV=debug&&webpack -p",
"webpack": "webpack-dev-server -d --port 8080 --hot --inline --content-base dist/ --history-api-fallback",
"watch": "set NODE_ENV=debug & webpack --mode=development --progress --colors --watch",
"analyze": "set NODE_ENV=production&&webpack -p --json | webpack-bundle-size-analyzer"
"analyze": "set NODE_ENV=production&&webpack -p --json | webpack-bundle-size-analyzer",
"lint": "eslint --fix"
},
"devDependencies": {
"@babel/core": "^7.1.6",
Expand Down
3 changes: 2 additions & 1 deletion Dnn.AdminExperience/ClientSide/SiteSettings.Web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
"debug": "set NODE_ENV=debug&&webpack -p",
"webpack": "webpack-dev-server -d --port 8085 --hot --inline --content-base dist/ --history-api-fallback",
"watch": "set NODE_ENV=debug & webpack --mode=development --progress --colors --watch",
"analyze": "set NODE_ENV=production&&webpack -p --json | webpack-bundle-size-analyzer"
"analyze": "set NODE_ENV=production&&webpack -p --json | webpack-bundle-size-analyzer",
"lint": "eslint --fix"
},
"devDependencies": {
"@babel/core": "^7.1.6",
Expand Down
3 changes: 2 additions & 1 deletion Dnn.AdminExperience/ClientSide/Sites.Web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
"debug": "set NODE_ENV=debug&&webpack -p",
"webpack": "webpack-dev-server -d --port 8080 --hot --inline --content-base dist/ --history-api-fallback",
"watch": "set NODE_ENV=debug & webpack --mode=development --progress --colors --watch",
"analyze": "set NODE_ENV=production&&webpack -p --json | webpack-bundle-size-analyzer"
"analyze": "set NODE_ENV=production&&webpack -p --json | webpack-bundle-size-analyzer",
"lint": "eslint --fix"
},
"devDependencies": {
"@babel/core": "7.1.6",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
"debug": "set NODE_ENV=debug&&webpack -p",
"webpack": "webpack-dev-server -d --port 8080 --hot --inline --content-base dist/ --history-api-fallback",
"watch": "set NODE_ENV=debug & webpack --mode=development --progress --colors --watch",
"analyze": "set NODE_ENV=production&&webpack -p --json | webpack-bundle-size-analyzer"
"analyze": "set NODE_ENV=production&&webpack -p --json | webpack-bundle-size-analyzer",
"lint": "eslint --fix"
},
"devDependencies": {
"@babel/core": "^7.1.6",
Expand Down
3 changes: 2 additions & 1 deletion Dnn.AdminExperience/ClientSide/Themes.Web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
"debug": "set NODE_ENV=debug&&webpack -p",
"webpack": "webpack-dev-server -d --port 8080 --hot --inline --content-base dist/ --history-api-fallback",
"watch": "set NODE_ENV=debug & webpack --mode=development --progress --colors --watch",
"analyze": "set NODE_ENV=production&&webpack -p --json | webpack-bundle-size-analyzer"
"analyze": "set NODE_ENV=production&&webpack -p --json | webpack-bundle-size-analyzer",
"lint": "eslint --fix"
},
"devDependencies": {
"@babel/core": "^7.2.0",
Expand Down
3 changes: 2 additions & 1 deletion Dnn.AdminExperience/ClientSide/Users.Web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
"debug": "set NODE_ENV=debug&&webpack -p",
"webpack": "webpack-dev-server -d --port 8080 --hot --inline --content-base dist/ --history-api-fallback",
"watch": "set NODE_ENV=debug & webpack --mode=development --progress --colors --watch",
"analyze": "set NODE_ENV=production&&webpack -p --json | webpack-bundle-size-analyzer"
"analyze": "set NODE_ENV=production&&webpack -p --json | webpack-bundle-size-analyzer",
"lint": "eslint --fix"
},
"devDependencies": {
"@babel/core": "^7.1.6",
Expand Down
3 changes: 2 additions & 1 deletion Dnn.AdminExperience/ClientSide/Vocabularies.Web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
"debug": "set NODE_ENV=debug&&webpack -p",
"webpack": "webpack-dev-server -d --port 8080 --hot --inline --content-base dist/ --history-api-fallback",
"watch": "set NODE_ENV=debug & webpack --mode=development --progress --colors --watch",
"analyze": "set NODE_ENV=production&&webpack -p --json | webpack-bundle-size-analyzer"
"analyze": "set NODE_ENV=production&&webpack -p --json | webpack-bundle-size-analyzer",
"lint": "eslint --fix"
},
"devDependencies": {
"@babel/core": "^7.1.6",
Expand Down