diff --git a/ghost/adapter-manager/package.json b/ghost/adapter-manager/package.json index bd0b63bfa2..89f69413a3 100644 --- a/ghost/adapter-manager/package.json +++ b/ghost/adapter-manager/package.json @@ -8,8 +8,7 @@ "scripts": { "dev": "echo \"Implement me!\"", "test": "NODE_ENV=testing c8 --all --reporter text --reporter cobertura mocha './test/**/*.test.js'", - "lint": "eslint . --ext .js --cache", - "posttest": "yarn lint" + "lint": "eslint . --ext .js --cache" }, "files": [ "index.js", diff --git a/ghost/api-version-compatibility-service/package.json b/ghost/api-version-compatibility-service/package.json index 618383a08c..5151cd0f41 100644 --- a/ghost/api-version-compatibility-service/package.json +++ b/ghost/api-version-compatibility-service/package.json @@ -10,8 +10,7 @@ "test": "NODE_ENV=testing c8 --all --check-coverage --reporter text --reporter cobertura mocha './test/**/*.test.js'", "lint:code": "eslint *.js lib/ --ext .js --cache", "lint": "yarn lint:code && yarn lint:test", - "lint:test": "eslint -c test/.eslintrc.js test/ --ext .js --cache", - "posttest": "yarn lint" + "lint:test": "eslint -c test/.eslintrc.js test/ --ext .js --cache" }, "files": [ "index.js", diff --git a/ghost/bootstrap-socket/package.json b/ghost/bootstrap-socket/package.json index ce1cd017b8..4f5bdc053f 100644 --- a/ghost/bootstrap-socket/package.json +++ b/ghost/bootstrap-socket/package.json @@ -8,8 +8,7 @@ "scripts": { "dev": "echo \"Implement me!\"", "test": "NODE_ENV=testing c8 --all --reporter text --reporter cobertura mocha './test/**/*.test.js'", - "lint": "eslint . --ext .js --cache", - "posttest": "yarn lint" + "lint": "eslint . --ext .js --cache" }, "files": [ "index.js", diff --git a/ghost/constants/package.json b/ghost/constants/package.json index 536a5dc20b..02c6a001f7 100644 --- a/ghost/constants/package.json +++ b/ghost/constants/package.json @@ -8,8 +8,7 @@ "scripts": { "dev": "echo \"Implement me!\"", "test": "NODE_ENV=testing c8 --all --reporter text --reporter cobertura mocha './test/**/*.test.js'", - "lint": "eslint . --ext .js --cache", - "posttest": "yarn lint" + "lint": "eslint . --ext .js --cache" }, "files": [ "index.js", diff --git a/ghost/email-content-generator/package.json b/ghost/email-content-generator/package.json index 06d8eef7d7..bbc2c362a7 100644 --- a/ghost/email-content-generator/package.json +++ b/ghost/email-content-generator/package.json @@ -10,8 +10,7 @@ "test": "NODE_ENV=testing c8 --all --check-coverage --reporter text --reporter cobertura mocha './test/**/*.test.js'", "lint:code": "eslint *.js lib/ --ext .js --cache", "lint": "yarn lint:code && yarn lint:test", - "lint:test": "eslint -c test/.eslintrc.js test/ --ext .js --cache", - "posttest": "yarn lint" + "lint:test": "eslint -c test/.eslintrc.js test/ --ext .js --cache" }, "files": [ "index.js", diff --git a/ghost/extract-api-key/package.json b/ghost/extract-api-key/package.json index 67fa033cbf..7980df40dd 100644 --- a/ghost/extract-api-key/package.json +++ b/ghost/extract-api-key/package.json @@ -10,8 +10,7 @@ "test": "NODE_ENV=testing c8 --all --check-coverage --reporter text --reporter cobertura mocha './test/**/*.test.js'", "lint:code": "eslint *.js lib/ --ext .js --cache", "lint": "yarn lint:code && yarn lint:test", - "lint:test": "eslint -c test/.eslintrc.js test/ --ext .js --cache", - "posttest": "yarn lint" + "lint:test": "eslint -c test/.eslintrc.js test/ --ext .js --cache" }, "files": [ "index.js", diff --git a/ghost/job-manager/package.json b/ghost/job-manager/package.json index 15eee87df7..8392c4341f 100644 --- a/ghost/job-manager/package.json +++ b/ghost/job-manager/package.json @@ -8,8 +8,7 @@ "scripts": { "dev": "echo \"Implement me!\"", "test": "NODE_ENV=testing c8 --all --reporter text --reporter cobertura mocha './test/**/*.test.js'", - "lint": "eslint . --ext .js --cache", - "posttest": "yarn lint" + "lint": "eslint . --ext .js --cache" }, "files": [ "index.js", diff --git a/ghost/minifier/package.json b/ghost/minifier/package.json index 4fa4b7e07a..40bb023077 100644 --- a/ghost/minifier/package.json +++ b/ghost/minifier/package.json @@ -8,8 +8,7 @@ "scripts": { "dev": "echo \"Implement me!\"", "test": "NODE_ENV=testing c8 --all --reporter text --reporter cobertura mocha './test/**/*.test.js'", - "lint": "eslint . --ext .js --cache", - "posttest": "yarn lint" + "lint": "eslint . --ext .js --cache" }, "files": [ "index.js", diff --git a/ghost/mw-api-version-mismatch/package.json b/ghost/mw-api-version-mismatch/package.json index 6665cd752d..4d83ef59cf 100644 --- a/ghost/mw-api-version-mismatch/package.json +++ b/ghost/mw-api-version-mismatch/package.json @@ -10,8 +10,7 @@ "test": "NODE_ENV=testing c8 --all --check-coverage --reporter text --reporter cobertura mocha './test/**/*.test.js'", "lint:code": "eslint *.js lib/ --ext .js --cache", "lint": "yarn lint:code && yarn lint:test", - "lint:test": "eslint -c test/.eslintrc.js test/ --ext .js --cache", - "posttest": "yarn lint" + "lint:test": "eslint -c test/.eslintrc.js test/ --ext .js --cache" }, "files": [ "index.js", diff --git a/ghost/mw-error-handler/package.json b/ghost/mw-error-handler/package.json index 56bac804df..8490d73c78 100644 --- a/ghost/mw-error-handler/package.json +++ b/ghost/mw-error-handler/package.json @@ -8,8 +8,7 @@ "scripts": { "dev": "echo \"Implement me!\"", "test": "NODE_ENV=testing c8 --all --check-coverage --100 --reporter text --reporter cobertura mocha './test/**/*.test.js'", - "lint": "eslint . --ext .js --cache", - "posttest": "yarn lint" + "lint": "eslint . --ext .js --cache" }, "files": [ "index.js", diff --git a/ghost/mw-session-from-token/package.json b/ghost/mw-session-from-token/package.json index d4772c2deb..e754bc2537 100644 --- a/ghost/mw-session-from-token/package.json +++ b/ghost/mw-session-from-token/package.json @@ -8,8 +8,7 @@ "scripts": { "dev": "echo \"Implement me!\"", "test": "NODE_ENV=testing c8 --all --reporter text --reporter cobertura mocha './test/**/*.test.js'", - "lint": "eslint . --ext .js --cache", - "posttest": "yarn lint" + "lint": "eslint . --ext .js --cache" }, "files": [ "index.js", diff --git a/ghost/mw-update-user-last-seen/package.json b/ghost/mw-update-user-last-seen/package.json index 8f288fec8d..1099895288 100644 --- a/ghost/mw-update-user-last-seen/package.json +++ b/ghost/mw-update-user-last-seen/package.json @@ -8,8 +8,7 @@ "scripts": { "dev": "echo \"Implement me!\"", "test": "NODE_ENV=testing c8 --all --check-coverage --reporter text --reporter cobertura mocha './test/**/*.test.js'", - "lint": "eslint . --ext .js --cache", - "posttest": "yarn lint" + "lint": "eslint . --ext .js --cache" }, "files": [ "index.js", diff --git a/ghost/mw-vhost/package.json b/ghost/mw-vhost/package.json index 81e17950e0..202511f256 100644 --- a/ghost/mw-vhost/package.json +++ b/ghost/mw-vhost/package.json @@ -8,8 +8,7 @@ "scripts": { "dev": "echo \"Implement me!\"", "test": "NODE_ENV=testing c8 --all --reporter text --reporter cobertura mocha './test/**/*.test.js'", - "lint": "eslint . --ext .js --cache", - "posttest": "yarn lint" + "lint": "eslint . --ext .js --cache" }, "files": [ "index.js", diff --git a/ghost/package-json/package.json b/ghost/package-json/package.json index 539b4def9c..ae53c57410 100644 --- a/ghost/package-json/package.json +++ b/ghost/package-json/package.json @@ -8,8 +8,7 @@ "scripts": { "dev": "echo \"Implement me!\"", "test": "NODE_ENV=testing c8 --all --reporter text --reporter cobertura --check-coverage mocha './test/**/*.test.js'", - "lint": "eslint . --ext .js --cache", - "posttest": "yarn lint" + "lint": "eslint . --ext .js --cache" }, "files": [ "index.js", diff --git a/ghost/security/package.json b/ghost/security/package.json index bae3307952..c01528a435 100644 --- a/ghost/security/package.json +++ b/ghost/security/package.json @@ -8,8 +8,7 @@ "scripts": { "dev": "echo \"Implement me!\"", "test": "NODE_ENV=testing c8 --all --reporter text --reporter cobertura mocha './test/**/*.test.js'", - "lint": "eslint . --ext .js --cache", - "posttest": "yarn lint" + "lint": "eslint . --ext .js --cache" }, "files": [ "index.js", diff --git a/ghost/session-service/package.json b/ghost/session-service/package.json index 0f39132df4..483e932508 100644 --- a/ghost/session-service/package.json +++ b/ghost/session-service/package.json @@ -8,8 +8,7 @@ "scripts": { "dev": "echo \"Implement me!\"", "test": "NODE_ENV=testing c8 --all --reporter text --reporter cobertura mocha './test/**/*.test.js'", - "lint": "eslint . --ext .js --cache", - "posttest": "yarn lint" + "lint": "eslint . --ext .js --cache" }, "files": [ "index.js", diff --git a/ghost/settings-path-manager/package.json b/ghost/settings-path-manager/package.json index d990347e13..6ceb8274d4 100644 --- a/ghost/settings-path-manager/package.json +++ b/ghost/settings-path-manager/package.json @@ -8,8 +8,7 @@ "scripts": { "dev": "echo \"Implement me!\"", "test": "NODE_ENV=testing c8 --all --reporter text --reporter cobertura --check-coverage mocha './test/**/*.test.js'", - "lint": "eslint . --ext .js --cache", - "posttest": "yarn lint" + "lint": "eslint . --ext .js --cache" }, "files": [ "index.js", diff --git a/ghost/update-check-service/package.json b/ghost/update-check-service/package.json index b745359e6c..b1bf5068be 100644 --- a/ghost/update-check-service/package.json +++ b/ghost/update-check-service/package.json @@ -9,8 +9,7 @@ "scripts": { "dev": "echo \"Implement me!\"", "test": "NODE_ENV=testing mocha './test/**/*.test.js'", - "lint": "eslint . --ext .js --cache", - "posttest": "yarn lint" + "lint": "eslint . --ext .js --cache" }, "files": [ "lib" diff --git a/ghost/version-notifications-data-service/package.json b/ghost/version-notifications-data-service/package.json index 76a6deffa0..a9cd8f5d8e 100644 --- a/ghost/version-notifications-data-service/package.json +++ b/ghost/version-notifications-data-service/package.json @@ -10,8 +10,7 @@ "test": "NODE_ENV=testing c8 --all --check-coverage --reporter text --reporter cobertura mocha './test/**/*.test.js'", "lint:code": "eslint *.js lib/ --ext .js --cache", "lint": "yarn lint:code && yarn lint:test", - "lint:test": "eslint -c test/.eslintrc.js test/ --ext .js --cache", - "posttest": "yarn lint" + "lint:test": "eslint -c test/.eslintrc.js test/ --ext .js --cache" }, "files": [ "index.js",