1
0
mirror of https://github.com/nostalgic-css/NES.css.git synced 2025-09-01 18:13:32 +02:00

🆙 prettier-stylelint -> stylelint-prettierに移行

This commit is contained in:
BcRikko
2018-11-26 21:59:11 +09:00
parent 658c51436e
commit ac150b25fc
6 changed files with 47 additions and 1244 deletions

File diff suppressed because one or more lines are too long

10
css/nes.min.css vendored

File diff suppressed because one or more lines are too long

1253
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -36,11 +36,13 @@
"lint-staged": "^7.3.0", "lint-staged": "^7.3.0",
"node-sass": "^4.9.3", "node-sass": "^4.9.3",
"postcss-cli": "^6.0.0", "postcss-cli": "^6.0.0",
"prettier-stylelint": "^0.4.2", "prettier": "^1.15.2",
"rimraf": "^2.6.2", "rimraf": "^2.6.2",
"stylelint": "^9.5.0", "stylelint": "^9.5.0",
"stylelint-config-prettier": "^4.0.0",
"stylelint-config-recess-order": "^2.0.0", "stylelint-config-recess-order": "^2.0.0",
"stylelint-config-standard": "^18.2.0", "stylelint-config-standard": "^18.2.0",
"stylelint-prettier": "^1.0.5",
"stylelint-scss": "^3.3.1" "stylelint-scss": "^3.3.1"
}, },
"browserslist": [ "browserslist": [
@@ -63,14 +65,16 @@
}, },
"stylelint": { "stylelint": {
"plugins": [ "plugins": [
"stylelint-scss" "stylelint-scss",
"stylelint-prettier"
], ],
"extends": [ "extends": [
"stylelint-config-standard", "stylelint-config-standard",
"stylelint-config-recess-order", "stylelint-config-recess-order",
"./node_modules/prettier-stylelint/config.js" "stylelint-prettier/recommended"
], ],
"rules": { "rules": {
"prettier/prettier": true,
"string-quotes": "double", "string-quotes": "double",
"at-rule-no-unknown": null, "at-rule-no-unknown": null,
"scss/at-rule-no-unknown": true "scss/at-rule-no-unknown": true

View File

@@ -38,9 +38,9 @@ section {
body { body {
margin: 0; margin: 0;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial,
"Helvetica Neue", Arial, Noto Sans, sans-serif, "Apple Color Emoji", Noto Sans, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol",
"Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; "Noto Color Emoji";
font-size: 1rem; font-size: 1rem;
font-weight: 400; font-weight: 400;
line-height: 1.5; line-height: 1.5;
@@ -171,8 +171,7 @@ pre,
code, code,
kbd, kbd,
samp { samp {
font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
"Courier New", monospace;
font-size: 1em; font-size: 1em;
} }

View File

@@ -68,12 +68,7 @@
@each $type in $types { @each $type in $types {
&.is-#{nth($type, 1)} { &.is-#{nth($type, 1)} {
@include btn-style( @include btn-style(nth($type, 2), nth($type, 3), nth($type, 4), nth($type, 5));
nth($type, 2),
nth($type, 3),
nth($type, 4),
nth($type, 5)
);
} }
} }
} }