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

View File

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

View File

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