Skip to content

Commit

Permalink
remove stylelint-prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
jgerigmeyer committed Oct 30, 2023
1 parent 109862c commit 67334e8
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 64 deletions.
29 changes: 0 additions & 29 deletions .pnp.cjs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

17 changes: 0 additions & 17 deletions .stylelintrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@

extends:
- stylelint-config-standard-scss
- stylelint-prettier/recommended

ignoreFiles:
- '**/*.js'
Expand Down Expand Up @@ -38,19 +37,3 @@ rules:
scss/dollar-variable-pattern:
- '^([_|-]*[a-z][a-z0-9]*)(-[a-z0-9]+)*-*$'
- message: 'Expected variable to be kebab-case'

# Disable for Prettier
scss/at-else-closing-brace-newline-after: null
scss/at-else-closing-brace-space-after: null
scss/at-else-empty-line-before: null
scss/at-else-if-parentheses-space-before: null
scss/at-function-parentheses-space-before: null
scss/at-if-closing-brace-newline-after: null
scss/at-if-closing-brace-space-after: null
scss/at-mixin-parentheses-space-before: null
scss/dollar-variable-colon-newline-after: null
scss/dollar-variable-colon-space-after: null
scss/dollar-variable-colon-space-before: null
scss/operator-no-newline-after: null
scss/operator-no-newline-before: null
scss/operator-no-unspaced: null
Binary file not shown.
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,6 @@
"srcdoc-polyfill": "^1.0.0",
"stylelint": "^15.11.0",
"stylelint-config-standard-scss": "^11.0.0",
"stylelint-prettier": "^4.0.2",
"svgo": "^3.0.2",
"webpack": "^5.89.0",
"webpack-cli": "^5.1.4",
Expand Down
4 changes: 0 additions & 4 deletions scss/utilities/_json-encode.scss
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,6 @@
$str: '';

@each $item in $list {
// https://github.com/stylelint-scss/stylelint-config-recommended-scss/issues/149
/* stylelint-disable-next-line annotation-no-unknown */
$str: if($str != '', $str + ', ', $str);
$str: $str + encode($item);
}
Expand All @@ -65,8 +63,6 @@
$str: '';

@each $key, $value in $map {
// https://github.com/stylelint-scss/stylelint-config-recommended-scss/issues/149
/* stylelint-disable-next-line annotation-no-unknown */
$str: if($str != '', $str + ', ', $str);
$str: $str + quotes($key) + ': ' + encode($value);
}
Expand Down
13 changes: 0 additions & 13 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -13025,7 +13025,6 @@ __metadata:
strip-indent: ^3.0.0
stylelint: ^15.11.0
stylelint-config-standard-scss: ^11.0.0
stylelint-prettier: ^4.0.2
svgo: ^3.0.2
typogr: ^0.6.8
unixify: ^1.0.0
Expand Down Expand Up @@ -13991,18 +13990,6 @@ __metadata:
languageName: node
linkType: hard

"stylelint-prettier@npm:^4.0.2":
version: 4.0.2
resolution: "stylelint-prettier@npm:4.0.2"
dependencies:
prettier-linter-helpers: "npm:^1.0.0"
peerDependencies:
prettier: ">=3.0.0"
stylelint: ">=15.8.0"
checksum: b60112c10b8f31456211d65b4c17238fdaf46ee9f80ab035621f2eb86b47505a4b9582d99f4334dfe370cc8104de870f7fcc256737d0f2e68f4357239f739054
languageName: node
linkType: hard

"stylelint-scss@npm:^5.1.0":
version: 5.3.0
resolution: "stylelint-scss@npm:5.3.0"
Expand Down

0 comments on commit 67334e8

Please sign in to comment.