aboutsummaryrefslogtreecommitdiffstats
path: root/package.json
diff options
context:
space:
mode:
authorsilverwind <me@silverwind.io>2020-03-29 13:56:58 +0200
committerGitHub <noreply@github.com>2020-03-29 12:56:58 +0100
commitad4026431b155cb7007bd7b0eaecc33a792efe0b (patch)
treea272fba1c4adf439a2c3ff233422c33d24527ea8 /package.json
parent3f0cb8b33a6e96a12498c9d5c2ae8dda44a13a62 (diff)
downloadgitea-ad4026431b155cb7007bd7b0eaecc33a792efe0b.tar.gz
gitea-ad4026431b155cb7007bd7b0eaecc33a792efe0b.zip
Add 'make lint', restructure 'compliance' pipeline (#10861)
- Added 'lint', 'lint-frontend', 'lint-backend' targets - Added 'lint-frontend', 'lint-backend' ci steps and restructure the 'compliance' pipeline to have a clear separation between frontend and backend and use parallelism where possible. Also, the main build pipelines now depend on 'compliance' so they will skip if it fails. - Added dependencies on ci steps so they skip when 'compliance' fails - Moved JS linters to devDependencies - Removed deprecated 'js' and 'css' targets
Diffstat (limited to 'package.json')
-rw-r--r--package.json10
1 files changed, 5 insertions, 5 deletions
diff --git a/package.json b/package.json
index 9b90bf0852..abb04356a2 100644
--- a/package.json
+++ b/package.json
@@ -18,9 +18,6 @@
"css-loader": "3.4.2",
"cssnano": "4.1.10",
"dropzone": "5.7.0",
- "eslint": "6.8.0",
- "eslint-config-airbnb-base": "14.1.0",
- "eslint-plugin-import": "2.20.1",
"fast-glob": "3.2.2",
"fomantic-ui": "2.8.4",
"highlight.js": "9.18.1",
@@ -35,8 +32,6 @@
"postcss-loader": "3.0.0",
"postcss-preset-env": "6.7.0",
"postcss-safe-parser": "4.0.2",
- "stylelint": "13.2.1",
- "stylelint-config-standard": "20.0.0",
"svg-sprite-loader": "4.2.1",
"svgo": "1.3.2",
"svgo-loader": "2.2.1",
@@ -52,6 +47,11 @@
"webpack-fix-style-only-entries": "0.4.0"
},
"devDependencies": {
+ "eslint": "6.8.0",
+ "eslint-config-airbnb-base": "14.1.0",
+ "eslint-plugin-import": "2.20.1",
+ "stylelint": "13.2.1",
+ "stylelint-config-standard": "20.0.0",
"updates": "10.2.4"
},
"browserslist": [