Skip to content

Commit

Permalink
Merge pull request #4774 from valadas/eslint-warnings
Browse files Browse the repository at this point in the history
Added lint task to all node projects
  • Loading branch information
mitchelsellers authored Aug 13, 2021
2 parents 5b08b08 + 28afa14 commit 8dc2b45
Show file tree
Hide file tree
Showing 18 changed files with 35 additions and 18 deletions.
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

0 comments on commit 8dc2b45

Please sign in to comment.