Skip to content

Commit

Permalink
Hotfix: prettier the files #639
Browse files Browse the repository at this point in the history
- linting scripts now use `&&` again, so they fail properly (#639)
  • Loading branch information
planktonic authored Mar 10, 2022
1 parent 093f997 commit e6e5823
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 13 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@
"postbuild": "postcss build/bitstyles.css --replace",
"lint:scss": "stylelint --ignore-path .gitignore 'scss/**/*.scss' --customSyntax postcss-scss",
"lint:js": "eslint --ignore-path .gitignore --ext js,jsx .",
"lint": "yarn lint:scss & yarn prettier:scss & yarn lint:js & yarn prettier:js & yarn prettier:docs",
"lint": "yarn lint:scss && yarn prettier:scss && yarn lint:js && yarn prettier:js && yarn prettier:docs",
"prettier:js": "prettier --ignore-path .gitignore --check './**/*.{js,jsx,json}'",
"prettier:scss": "prettier --ignore-path .gitignore --check './**/*.scss'",
"prettier:docs": "prettier --ignore-path .gitignore --check './**/*.{md,mdx}'",
"prettier": "yarn prettier:js & yarn prettier:scss & yarn prettier:docs",
"prettier": "yarn prettier:js && yarn prettier:scss && yarn prettier:docs",
"test": "script/test",
"checks": "yarn lint && yarn css:stats && yarn test",
"watch": "yarn build && yarn build --watch",
Expand Down
15 changes: 4 additions & 11 deletions test/css-stats.json
Original file line number Diff line number Diff line change
Expand Up @@ -114,12 +114,8 @@
".o-modal--animation-ok[aria-hidden=true] .o-modal__content @ 1:28864",
".o-table tr:last-child td @ 1:30091"
],
"redundantChildNodesSelectors": [
".o-table tr:last-child td @ 1:30091"
],
"importants": [
".u-sr-only {position: absolute!important} @ 1:61942"
],
"redundantChildNodesSelectors": [".o-table tr:last-child td @ 1:30091"],
"importants": [".u-sr-only {position: absolute!important} @ 1:61942"],
"colors": [
"rgba(0,13,255,0.025) (36 times)",
"#ffffff (28 times)",
Expand Down Expand Up @@ -178,9 +174,6 @@
"rgba(23,25,49,0.1) (1 times)",
"#8a8ba3 (1 times)"
],
"duplicatedSelectors": [
"html (3 times)",
"legend (2 times)"
]
"duplicatedSelectors": ["html (3 times)", "legend (2 times)"]
}
}
}

0 comments on commit e6e5823

Please sign in to comment.