1
0
mirror of https://github.com/nostalgic-css/NES.css.git synced 2025-03-14 19:19:59 +01:00

build(commitlint): Remove semantic-commitlint

This removes `semantic-commitlint` from both the local build pipeline and the CI build pipeline. The
original value of `semantic-commitlint` was that it would handle linting only the relevant commits,
i.e. the commit range under review for a PR. However, the library doesn't seem to respect our
altered `commitlint` rules, so we'll be switching to an alternate strategy to handle linting of
specific ranges.

#13
This commit is contained in:
Trezy 2018-12-10 11:57:30 -06:00
parent 1089154b35
commit e5ab23884e
3 changed files with 10 additions and 1675 deletions

View File

@ -94,17 +94,6 @@ jobs:
paths:
- css
commitlint:
<<: *defaults
steps:
- attach_workspace:
at: .
- run:
name: Lint commit messages
command: npx semantic-commitlint -- --ci
lint:
<<: *defaults
@ -179,9 +168,6 @@ workflows:
# - coverage:
# requires:
# - install-dependencies
- commitlint:
requires:
- install-dependencies
- lint:
requires:
- install-dependencies

1652
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -14,7 +14,6 @@
"storybook": "start-storybook -p 6006",
"build:storybook": "build-storybook",
"deploy": "npm run build",
"semantic-commitlint": "semantic-commitlint",
"semantic-release": "semantic-release",
"commit": "git-cz",
"commit:retry": "git-cz --retry",
@ -55,7 +54,6 @@
"postcss-cli": "^6.0.0",
"prettier": "^1.15.2",
"rimraf": "^2.6.2",
"semantic-commitlint": "^1.3.2",
"semantic-release": "^15.12.3",
"stylelint": "^9.5.0",
"stylelint-config-prettier": "^4.0.0",
@ -72,8 +70,16 @@
"@commitlint/config-conventional"
],
"rules": {
"subject-case": [0, "never", "sentence-case"],
"subject-full-stop": [0, "never", "."]
"subject-case": [
0,
"never",
"sentence-case"
],
"subject-full-stop": [
0,
"never",
"."
]
}
},
"husky": {
@ -95,11 +101,6 @@
"prettier": {
"printWidth": 100
},
"release": {
"verifyRelease": [
"semantic-commitlint"
]
},
"stylelint": {
"plugins": [
"stylelint-scss",