mirror of
https://github.com/go-gitea/gitea
synced 2025-08-05 09:08:22 +00:00
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
This commit is contained in:
10
package.json
10
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": [
|
||||
|
Reference in New Issue
Block a user