{"id":814,"date":"2022-08-14T00:23:58","date_gmt":"2022-08-13T15:23:58","guid":{"rendered":"https:\/\/osora.work\/blog\/?p=814"},"modified":"2022-08-14T00:23:58","modified_gmt":"2022-08-13T15:23:58","slug":"prettier%e3%80%81stylelint%e3%82%92%e8%a8%ad%e5%ae%9a%e3%81%97%e3%81%a6css%e3%82%92%e3%81%8d%e3%82%8c%e3%81%84%e3%81%ab%e3%81%99%e3%82%8b%e3%81%9e%ef%bd%9e%ef%bc%81%e3%80%902022%e5%b9%b48%e6%9c%88","status":"publish","type":"post","link":"https:\/\/osora.ne0n.xyz\/blog\/814","title":{"rendered":"prettier\u3001stylelint\u3092\u8a2d\u5b9a\u3057\u3066CSS\u3092\u304d\u308c\u3044\u306b\u3059\u308b\u305e\uff5e\uff01\u30102022\u5e748\u6708\u3011"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">\u5c0e\u5165\u3059\u308b\u524d\u306b<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">prettier(\u30d7\u30ea\u30c6\u30a3\u30a2)\u3063\u3066\u306a\u306b\uff1f<\/h3>\n\n\n\n<p>\u30a4\u30f3\u30c7\u30f3\u30c8\u3084\u30ab\u30f3\u30de\u3084\u305d\u306e\u4ed6\u30b3\u30fc\u30c9\u306e\u898b\u305f\u76ee\u3092\u304d\u308c\u3044(prettier)\u306b\u3057\u3066\u304f\u308c\u308b\u3088\uff01<br>CSS\u3060\u3051\u3067\u306a\u304f\u3001\u69d8\u3005\u306a\u62e1\u5f35\u5b50\u306e\u30d5\u30a1\u30a4\u30eb\u306b\u5bfe\u5fdc\u3057\u3066\u3044\u308b\u3088\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">stylelint(\u30b9\u30bf\u30a4\u30eb\u30ea\u30f3\u30c8)\u3063\u3066\u306a\u306b\uff1f<\/h3>\n\n\n\n<p>CSS\u30b3\u30fc\u30c9\u306e\u6587\u6cd5\u306a\u3069\u3092\u30c1\u30a7\u30c3\u30af\u3057\u3066\u30a8\u30e9\u30fc\u51fa\u3057\u305f\u308a\u4fee\u6b63\u3057\u305f\u308a\u3057\u3066\u304f\u308c\u308b\u3088\uff01<br>\u62e1\u5f35\u30d1\u30c3\u30af\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308c\u3070SCSS\u306a\u3069\u306b\u3082\u5bfe\u5fdc\u3055\u305b\u3089\u308c\u308b\u3088\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u305d\u308c\u8981\u308b\uff1f<\/h3>\n\n\n\n<p>\u306a\u304f\u3066\u3082\u56f0\u3089\u306a\u3044\u3051\u3069\u3001\u3042\u3063\u3066\u56f0\u308b\u3053\u3068\u306f\u306a\u3044\u3088\uff01<br>\u5c0e\u5165\u5f8c\u306f\u76ee\u306b\u512a\u3057\u3044CSS\u30b3\u30fc\u30c9\u304c\u51fa\u6765\u4e0a\u304c\u3063\u3066\u3061\u3087\u3063\u3068\u3046\u308c\u3057\u3044\u3088\u3002<br>\u30c1\u30fc\u30e0\u3067\u3084\u308b\u306a\u3089\u304a\u4e92\u3044\u306e\u751f\u7523\u6027\u306e\u305f\u3081\u306b\u3042\u3063\u305f\u307b\u3046\u304c\u3044\u3044\u304b\u3082\u306d\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u91cd\u8907\u3059\u308b\u30eb\u30fc\u30eb\u304c\u3042\u3063\u305f\u3089\u3069\u3046\u306a\u3063\u3061\u3083\u3046\u306e\uff1f<\/h3>\n\n\n\n<p>\u554f\u7b54\u7121\u7528\u3067prettier\u306e\u30eb\u30fc\u30eb\u306b\u4e0a\u66f8\u304d\u3055\u308c\u308b\u3088\uff01<br>VSCode\u3067\u306f\u3044\u307e\u306e\u3068\u3053\u308d\u6574\u5f62\u6a5f\u80fd\u306e\u5b9f\u884c\u9806\u3092\u6307\u5b9a\u3067\u304d\u306a\u3044\u304b\u3089\u3001stylelint\u306e\u30eb\u30fc\u30eb\u3092prettier\u306e\u30eb\u30fc\u30eb\u3088\u308a\u512a\u5148\u3059\u308b\u3053\u3068\u306f\u3067\u304d\u306a\u3044\u3088\uff01<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">VSCode\u306b\u5c0e\u5165\u3057\u305f\u306e\uff1f<\/h3>\n\n\n\n<p>\u305d\u3046\u3060\u3088(\u5373\u7b54)<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3054\u3068\u306b\u8a2d\u5b9a\u3092\u5909\u3048\u305f\u3044\u3093\u3060\u3051\u3069\u30ef\u30fc\u30af\u30b9\u30da\u30fc\u30b9\u3054\u3068\u306b\u8a2d\u5b9a\u3067\u304d\u308b\uff1f<\/h3>\n\n\n\n<p>\u3067\u304d\u308b\u3088\uff01<br>\u306a\u306e\u3067\u3001VSCode\u306e\u30e6\u30fc\u30b6\u30fc\u306b\u8a2d\u5b9a\u3059\u308b\u5834\u5408\u3068\u3001\u30ef\u30fc\u30af\u30b9\u30da\u30fc\u30b9\u306b\u8a2d\u5b9a\u3059\u308b\u5834\u5408\u306e2\u30d1\u30bf\u30fc\u30f3\u306e\u89e3\u8aac\u3092\u66f8\u3044\u305f\u3088\uff01\u2190\u3048\u3089\u3044<\/p>\n\n\n\n<p><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">prettier\u306e\u5c0e\u5165<\/h2>\n\n\n\n<p>Notion\u306e\u30ea\u30f3\u30af(\u3053\u3063\u3061\u306e\u307b\u3046\u304c\u898b\u3084\u3059\u3044\u306e\u3067\u63b2\u8f09)<br><a rel=\"noreferrer noopener\" href=\"https:\/\/210neon.notion.site\/prettier-c568f4f678654db7840dd38a3a8bc726\" target=\"_blank\">https:\/\/210neon.notion.site\/prettier-c568f4f678654db7840dd38a3a8bc726<\/a><\/p>\n\n\n\n<p>\u4ee5\u4e0bNotion\u306e\u30b3\u30d4\u30da\u3068\u3088\u308a\u8a73\u3057\u3044\u89e3\u8aac\u3067\u3059\u3002<\/p>\n\n\n\n<hr class=\"wp-block-separator is-style-wide\"\/>\n\n\n\n<h3 class=\"wp-block-heading\">prettier\u306e\u30eb\u30fc\u30eb\u4e00\u89a7<\/h3>\n\n\n\n<p><a href=\"https:\/\/prettier.io\/docs\/en\/options.html\">https:\/\/prettier.io\/docs\/en\/options.html<\/a><\/p>\n\n\n\n<hr class=\"wp-block-separator is-style-wide\"\/>\n\n\n\n<h3 class=\"wp-block-heading\">\u30a8\u30c7\u30a3\u30bf\u306b\u5c0e\u5165\u3059\u308b(VSCode)<\/h3>\n\n\n\n<h4 class=\"wp-block-heading\">VSCode\u62e1\u5f35\u6a5f\u80fd(esbenp.prettier-vscode)\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h4>\n\n\n\n<p>\u62e1\u5f35\u6a5f\u80fd\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u5834\u5408<br>\u2192\u8907\u6570\u540c\u3058\u540d\u524d\u306e\u3082\u306e\u304c\u3042\u308b\u306e\u3067\u3001\u4e00\u756a\u4eba\u6c17\u306e\u9ad8\u3044\u3082\u306e\u3092DL\u3059\u308b\u3088\u3046\u306b\u3002<\/p>\n\n\n\n<p>setting.json\u306b\u4e0b\u8a18\u3092\u8a2d\u5b9a\u3057\u3066\u9ec4\u8272\u306e\u6ce2\u7dda\u304c\u3064\u304b\u306a\u3051\u308c\u3070OK<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-json\" data-file=\"setting.json\" data-lang=\"JSON\"><code>{\n    &quot;editor.defaultFormatter&quot;: &quot;esbenp.prettier-vscode&quot;,\n}<\/code><\/pre><\/div>\n\n\n\n<h4 class=\"wp-block-heading\">\u30e6\u30fc\u30b6\u30fc\u8a2d\u5b9a(setting.json)<\/h4>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-json\" data-file=\"setting.json\" data-lang=\"JSON\"><code>{\n  \/\/prettier\u306e\u8a2d\u5b9a\n\t&quot;prettier.semi&quot;: true,\n  &quot;prettier.singleQuote&quot;: false,\n  &quot;prettier.quoteProps&quot;: &quot;as-needed&quot;,\n  &quot;prettier.jsxSingleQuote&quot;: false,\n  &quot;prettier.trailingComma&quot;: &quot;es5&quot;,\n  &quot;prettier.bracketSpacing&quot;: true,\n  &quot;prettier.arrowParens&quot;: &quot;always&quot;,\n  &quot;prettier.requirePragma&quot;: false,\n  &quot;prettier.insertPragma&quot;: false,\n  &quot;prettier.proseWrap&quot;: &quot;preserve&quot;,\n  &quot;prettier.htmlWhitespaceSensitivity&quot;: &quot;css&quot;,\n  &quot;prettier.vueIndentScriptAndStyle&quot;: false,\n  &quot;prettier.embeddedLanguageFormatting&quot;: &quot;auto&quot;,\n  &quot;prettier.printWidth&quot;: 100,\n  &quot;prettier.tabWidth&quot;: 2,\n  &quot;prettier.useTabs&quot;: false,\n  &quot;prettier.endOfLine&quot;: &quot;auto&quot;\n}<\/code><\/pre><\/div>\n\n\n\n<h4 class=\"wp-block-heading\">\u7279\u5b9a\u306e\u8a00\u8a9e(\u62e1\u5f35\u5b50)\u3067prettier\u3092\u30aa\u30d5\u306b\u3059\u308b(setting.json)<\/h4>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-json\" data-file=\"setting.json\" data-lang=\"JSON\"><code>&quot;[scss]&quot;: {\n   &quot;editor.defaultFormatter&quot;: null\n},<\/code><\/pre><\/div>\n\n\n\n<hr class=\"wp-block-separator is-style-wide\"\/>\n\n\n\n<h3 class=\"wp-block-heading\">\u30ef\u30fc\u30af\u30b9\u30da\u30fc\u30b9\u306b\u5c0e\u5165\u3059\u308b<\/h3>\n\n\n\n<h4 class=\"wp-block-heading\">\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h4>\n\n\n\n<pre class=\"wp-block-code\"><code>npm i prettier<\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">\u30ef\u30fc\u30af\u30b9\u30da\u30fc\u30b9\u8a2d\u5b9a(.prettierrc)<\/h4>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-json\" data-file=\".prettierrc\" data-lang=\"JSON\"><code>{\n  &quot;semi&quot;: true,\n  &quot;singleQuote&quot;: false,\n  &quot;quoteProps&quot;: &quot;as-needed&quot;,\n  &quot;jsxSingleQuote&quot;: false,\n  &quot;trailingComma&quot;: &quot;es5&quot;,\n  &quot;bracketSpacing&quot;: true,\n  &quot;arrowParens&quot;: &quot;always&quot;,\n  &quot;requirePragma&quot;: false,\n  &quot;insertPragma&quot;: false,\n  &quot;proseWrap&quot;: &quot;preserve&quot;,\n  &quot;htmlWhitespaceSensitivity&quot;: &quot;css&quot;,\n  &quot;vueIndentScriptAndStyle&quot;: false,\n  &quot;embeddedLanguageFormatting&quot;: &quot;auto&quot;,\n  &quot;printWidth&quot;: 100,\n  &quot;tabWidth&quot;: 2,\n  &quot;useTabs&quot;: false,\n  &quot;endOfLine&quot;: &quot;auto&quot;\n}<\/code><\/pre><\/div>\n\n\n\n<h4 class=\"wp-block-heading\">\u7279\u5b9a\u306e\u30d5\u30a1\u30a4\u30eb\u306b\u5bfe\u3057\u3066prettier\u3092\u30aa\u30d5\u306b\u3059\u308b(.prettierignore)<\/h4>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-plain\" data-file=\".prettierignore\"><code>**\/scss\/**\/*.scss<\/code><\/pre><\/div>\n\n\n\n<hr class=\"wp-block-separator is-style-wide\"\/>\n\n\n\n<h3 class=\"wp-block-heading\">stylelint\u3068\u306e\u7af6\u5408<\/h3>\n\n\n\n<p>\u203bstylelint\u306e\u8a2d\u5b9a\u3088\u308a\u3082<strong>prettier\u306e\u8a2d\u5b9a\u304c\u512a\u5148\u3055\u308c\u308b<\/strong>\u306e\u3067\u3001 \u3000\u30eb\u30fc\u30eb\u307e\u308f\u308a\u3067stylelint\u306e\u30a8\u30e9\u30fc\u304c\u3067\u305f\u3089\u4e0b\u8a18\u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u5229\u7528\u3057\u3066prettier\u3068\u306e\u7af6\u5408\u3092\u78ba\u8a8d\u3057\u3066\u4e0b\u3055\u3044\u3002<br><a href=\"https:\/\/github.com\/prettier\/stylelint-config-prettier\">https:\/\/github.com\/prettier\/stylelint-config-prettier<\/a><\/p>\n\n\n\n<p>\u3000<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">stylelint\u306e\u5c0e\u5165<\/h2>\n\n\n\n<p>Notion\u306e\u30ea\u30f3\u30af(\u3053\u3063\u3061\u306e\u307b\u3046\u304c\u898b\u3084\u3059\u3044\u306e\u3067\u63b2\u8f09)<br><a rel=\"noreferrer noopener\" href=\"https:\/\/210neon.notion.site\/stylelint-for-SCSS-d39fb51a5c784e1cb0f6e99b41a67981\" target=\"_blank\">https:\/\/210neon.notion.site\/stylelint-for-SCSS-d39fb51a5c784e1cb0f6e99b41a67981<\/a><\/p>\n\n\n\n<p>\u4ee5\u4e0bNotion\u306e\u30b3\u30d4\u30da\u3068\u3088\u308a\u8a73\u3057\u3044\u89e3\u8aac\u3067\u3059\u3002<\/p>\n\n\n\n<hr class=\"wp-block-separator is-style-wide\"\/>\n\n\n\n<h3 class=\"wp-block-heading\">\u30eb\u30fc\u30eb\u4e00\u89a7<\/h3>\n\n\n\n<p>\u554f\u984c(\u8d64\u6ce2\u7dda)\u304c\u51fa\u305f\u3068\u304d\u306f\u30eb\u30fc\u30eb\u3092\u8abf\u3079\u3066\u8ffd\u8a18\u3059\u308b\u3002<br>\u30b3\u30f3\u30bd\u30fc\u30eb\u306e\u4e0b\u7dda\u90e8\u3092\u30af\u30ea\u30c3\u30af\u3059\u308b\u3068\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u30b5\u30a4\u30c8\u306b\u98db\u3079\u307e\u3059\u3002<\/p>\n\n\n\n<p><strong>stylelint<\/strong><br><a rel=\"noreferrer noopener\" href=\"https:\/\/stylelint.io\/\" target=\"_blank\">https:\/\/stylelint.io\/<\/a><br>\u3053\u3053\u3067\u30eb\u30fc\u30eb\u3092\u691c\u7d22\u3057\u3066\u51fa\u306a\u304b\u3063\u305f\u3089\u4e0b\u306eSCSS\u306e\u3084\u3064\u306b\u3042\u308b\u306f\u305a<\/p>\n\n\n\n<p><strong>stylelint-config-standard-scss<\/strong>(SCSS\u306b\u5bfe\u5fdc\u3055\u305b\u308b\u5834\u5408)<br><a rel=\"noreferrer noopener\" href=\"https:\/\/github.com\/stylelint-scss\/stylelint-config-standard-scss\/blob\/HEAD\/index.js\" target=\"_blank\">https:\/\/github.com\/stylelint-scss\/stylelint-config-standard-scss\/blob\/HEAD\/index.js<\/a><br>\u3053\u306e\u30d5\u30a1\u30a4\u30eb\u306e\u4e2d\u306e\u8a2d\u5b9a\u3092\u30b3\u30d4\u30da\u3059\u308b\u3068\u30a8\u30e9\u30fc\u304c\u6d88\u3048\u308b\u304b\u3082<\/p>\n\n\n\n<p>\u3069\u3061\u3089\u306e\u30a8\u30e9\u30fc\u3067\u3082\u306a\u304b\u3063\u305f\u3089\u304d\u3063\u3068prettier<\/p>\n\n\n\n<hr class=\"wp-block-separator is-style-wide\"\/>\n\n\n\n<p>stylelint\u306f\u30ef\u30fc\u30af\u30b9\u30da\u30fc\u30b9\u5358\u4f4d\u3067\u3057\u304b\u8a2d\u5b9a\u3067\u304d\u307e\u305b\u3093\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u30ef\u30fc\u30af\u30b9\u30da\u30fc\u30b9\u306b\u5c0e\u5165\u3059\u308b<\/h3>\n\n\n\n<h4 class=\"wp-block-heading\">\u6700\u4f4e\u9650\u5fc5\u8981\u306apackage<\/h4>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-json\" data-file=\"package.json\" data-lang=\"JSON\"><code>&quot;sass&quot;: &quot;^1.53.0&quot;,\n&quot;stylelint&quot;: &quot;^14.9.1&quot;,\n&quot;stylelint-config-recess-order&quot;: &quot;^3.0.0&quot;,\/\/CSS\u306e\u30b9\u30bf\u30a4\u30eb\u306e\u4e26\u3073\u9806\u3092\u6307\u5b9a\u3059\u308b\n&quot;stylelint-config-standard-scss&quot;: &quot;^4.0.0&quot;\/\/SCSS\u30d5\u30a1\u30a4\u30eb\u306b\u5bfe\u5fdc\u3055\u305b\u308b<\/code><\/pre><\/div>\n\n\n\n<p>\u9069\u5b9c\u5fc5\u8981\u306a\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u304f\u3060\u3055\u3044\u3002(\u30d0\u30fc\u30b8\u30e7\u30f3\u306f\u30c1\u30fc\u30e0\u3067\u63c3\u3048\u305f\u307b\u3046\u304c\u3044\u3044\u3067\u3059)<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">SCSS\u5bfe\u5fdc\u3092\u542b\u3081\u305f\u30eb\u30fc\u30eb\u30bb\u30c3\u30c8(.stylelintrc.js)<\/h3>\n\n\n\n<p>\u73fe\u5728\u307c\u304f\u304c\u4f7f\u7528\u3057\u3066\u3044\u308b\u3082\u306e\u3067\u3059\u3002<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-js\" data-file=\".stylelintrc.js\" data-lang=\"JavaScript\"><code>module.exports = {\n  extends: [&quot;stylelint-config-standard-scss&quot;, &quot;stylelint-config-recess-order&quot;],\n  rules: {\n    &quot;at-rule-empty-line-before&quot;: [\n      &quot;always&quot;,\n      {\n        except: [&quot;blockless-after-blockless&quot;, &quot;first-nested&quot;],\n        ignore: [&quot;after-comment&quot;],\n        ignoreAtRules: [&quot;else&quot;],\n      },\n    ],\n    &quot;at-rule-no-unknown&quot;: [\n      true,\n      {\n        ignoreAtRules: [&quot;include&quot;, &quot;mixin&quot;, &quot;each&quot;, &quot;use&quot;, &quot;forward&quot;, &quot;charset&quot;,&quot;for&quot;],\n      },\n    ],\n    &quot;block-no-empty&quot;: true,\n    &quot;color-no-invalid-hex&quot;: true,\n    &quot;color-named&quot;: &quot;never&quot;,\n    &quot;color-hex-case&quot;: &quot;lower&quot;,\n    &quot;comment-no-empty&quot;: true,\n    &quot;comment-empty-line-before&quot;: &quot;always&quot;,\n    &quot;comment-whitespace-inside&quot;: &quot;always&quot;,\n    &quot;declaration-block-no-duplicate-properties&quot;: true,\n    &quot;declaration-block-no-shorthand-property-overrides&quot;: true,\n    &quot;declaration-block-no-redundant-longhand-properties&quot;: true,\n    &quot;declaration-bang-space-after&quot;: &quot;never&quot;,\n    &quot;function-calc-no-unspaced-operator&quot;: true,\n    &quot;function-url-quotes&quot;: &quot;always&quot;,\n    &quot;function-name-case&quot;: &quot;lower&quot;,\n    &quot;function-max-empty-lines&quot;: 0,\n    \/\/ &quot;function-parentheses-space-inside&quot;: &quot;always&quot;, \/\/(prettier\u3067\u5727\u7e2e\u3055\u308c\u308b\u306e\u3067null\u304c\u6b63\u3057\u3044\u3088\u3046\u3067\u3059)\n    &quot;font-family-no-duplicate-names&quot;: true,\n    &quot;font-family-name-quotes&quot;: &quot;always-unless-keyword&quot;,\n    &quot;length-zero-no-unit&quot;: true,\n    &quot;media-feature-name-no-unknown&quot;: true,\n    &quot;no-duplicate-at-import-rules&quot;: true,\n    &quot;no-duplicate-selectors&quot;: true,\n    &quot;no-descending-specificity&quot;: null,\n    &quot;no-empty-source&quot;: true,\n    &quot;no-extra-semicolons&quot;: true,\n    &quot;number-leading-zero&quot;: &quot;always&quot;,\n    &quot;number-no-trailing-zeros&quot;: true,\n    &quot;property-no-unknown&quot;: true,\n    &quot;property-case&quot;: &quot;lower&quot;,\n    &quot;selector-pseudo-class-no-unknown&quot;: true,\n    &quot;selector-pseudo-element-no-unknown&quot;: true,\n    &quot;selector-pseudo-element-colon-notation&quot;: &quot;double&quot;,\n    &quot;selector-type-no-unknown&quot;: true,\n    &quot;selector-type-case&quot;: &quot;lower&quot;,\n    &quot;selector-class-pattern&quot;: null,\n    &quot;selector-id-pattern&quot;: null,\n    &quot;string-no-newline&quot;: true,\n    &quot;string-quotes&quot;: &quot;double&quot;,\n    &quot;shorthand-property-no-redundant-values&quot;: true,\n    &quot;scss\/at-rule-no-unknown&quot;: true,\n    &quot;time-min-milliseconds&quot;: 100,\n    &quot;unit-no-unknown&quot;: true,\n    &quot;unit-case&quot;: &quot;lower&quot;,\n    &quot;value-keyword-case&quot;: &quot;lower&quot;,\n    &quot;selector-id-pattern&quot;: null, \/\/ id\u3067kebab-case\u4ee5\u5916\u3082\u8a31\u5bb9\n    &quot;selector-class-pattern&quot;: null, \/\/ class\u3067kebab-case\u4ee5\u5916\u3082\u8a31\u5bb9\n    &quot;keyframes-name-pattern&quot;: null, \/\/ keyframes\u3067kebab-case\u4ee5\u5916\u3082\u8a31\u5bb9\n    &quot;scss\/at-mixin-pattern&quot;: null, \/\/ mixin\u3067kebab-case\u4ee5\u5916\u3082\u8a31\u5bb9\n    &quot;scss\/dollar-variable-pattern&quot;: null, \/\/ $\u5909\u6570\u3067kebab-case\u4ee5\u5916\u3082\u8a31\u5bb9\n    &quot;scss\/percent-placeholder-pattern&quot;: null, \/\/ %placeholder\u3067kebab-case\u4ee5\u5916\u3082\u8a31\u5bb9\n    &quot;scss\/at-extend-no-missing-placeholder&quot;: null, \/\/ @extend\u3067%placeholder\u4ee5\u5916\u3082\u8a31\u5bb9\n    &quot;max-line-length&quot;: null, \/\/ 120\u6587\u5b57\u3092\u8d85\u3048\u308b\u884c\u3092\u8a31\u53ef\n    &quot;max-empty-lines&quot;: null, \/\/ \u9023\u7d9a\u3059\u308b\u7a7a\u767d\u884c\u3092\u8a31\u53ef\n    &quot;no-descending-specificity&quot;: null, \/\/ \u8a73\u7d30\u5ea6\u306e\u9ad8\u3044\u30bb\u30ec\u30af\u30bf\u304c\u524d\u306b\u6765\u308b\u306e\u3092\u7981\u6b62(\u30cd\u30b9\u30c8\u3092\u591a\u7528\u3059\u308b\u5834\u5408\u306fnull\u63a8\u5968)\n    &quot;scss\/double-slash-comment-whitespace-inside&quot;: null, \/\/ autofix\u304c\u306a\u3044\u306e\u3067\u4fee\u6b63\u304c\u9762\u5012\u3060\u3063\u305f\u3089null\n  },\n};<\/code><\/pre><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">\u7279\u5b9a\u306e\u30d5\u30a1\u30a4\u30eb\u306b\u5bfe\u3057\u3066stylelint\u3092\u30aa\u30d5\u306b\u3059\u308b(.stylelintrc.js)<\/h3>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-js\" data-file=\".stylelintrc.js\" data-lang=\"JavaScript\"><code>ignoreFiles: [&quot;**\/scss\/**\/*.scss&quot;],<\/code><\/pre><\/div>\n\n\n\n<p><\/p>\n\n\n\n<p>\u306a\u304b\u306a\u304b\u30d1\u30c3\u30b1\u30fc\u30b8\u306e\u5168\u8c8c\u3092\u77e5\u308b\u306e\u306b\u82e6\u52b4\u3057\u307e\u3057\u305f\u304c\u3001\u30b3\u30df\u30e5\u30cb\u30c6\u30a3\u304c\u904b\u55b6\u3055\u308c\u3066\u3044\u308b\u3068\u3053\u308d\u3092\u898b\u308c\u305f\u306e\u3067\u3044\u3044\u7d4c\u9a13\u306b\u306a\u308a\u307e\u3057\u305f\u3002<br>Notion\u3082\u6700\u8fd1\u4f7f\u3044\u59cb\u3081\u305f\u306e\u3067\u3059\u304c\u3001WordPress\u3092\u958b\u3044\u3066\u30d6\u30ed\u30b0\u3092\u66f8\u304f\u884c\u70ba\u304cUX\u7684\u306b\u60aa\u3044\u306e\u306b\u6c17\u3065\u3044\u305f(\u3057\u3001\u898b\u305f\u76ee\u3082\u3042\u3093\u307e\u308a\u826f\u304f\u306a\u3044\u2026\u2026)\u306e\u3067\u3001\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u3057\u305f\u3044\u306a\u3068\u601d\u3044\u307e\u3057\u305f\u3002\u307e\u308b\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5c0e\u5165\u3059\u308b\u524d\u306b prettier(\u30d7\u30ea\u30c6\u30a3\u30a2)\u3063\u3066\u306a\u306b\uff1f \u30a4\u30f3\u30c7\u30f3\u30c8\u3084\u30ab\u30f3\u30de\u3084\u305d\u306e\u4ed6\u30b3\u30fc\u30c9\u306e\u898b\u305f\u76ee\u3092\u304d\u308c\u3044(prettier)\u306b\u3057\u3066\u304f\u308c\u308b\u3088\uff01CSS\u3060\u3051\u3067\u306a\u304f\u3001\u69d8\u3005\u306a\u62e1\u5f35\u5b50\u306e\u30d5\u30a1\u30a4\u30eb\u306b\u5bfe\u5fdc\u3057\u3066\u3044\u308b\u3088\u3002 stylelint( &#8230; <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[2,10],"tags":[],"_links":{"self":[{"href":"https:\/\/osora.ne0n.xyz\/blog\/wp-json\/wp\/v2\/posts\/814"}],"collection":[{"href":"https:\/\/osora.ne0n.xyz\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/osora.ne0n.xyz\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/osora.ne0n.xyz\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/osora.ne0n.xyz\/blog\/wp-json\/wp\/v2\/comments?post=814"}],"version-history":[{"count":2,"href":"https:\/\/osora.ne0n.xyz\/blog\/wp-json\/wp\/v2\/posts\/814\/revisions"}],"predecessor-version":[{"id":816,"href":"https:\/\/osora.ne0n.xyz\/blog\/wp-json\/wp\/v2\/posts\/814\/revisions\/816"}],"wp:attachment":[{"href":"https:\/\/osora.ne0n.xyz\/blog\/wp-json\/wp\/v2\/media?parent=814"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/osora.ne0n.xyz\/blog\/wp-json\/wp\/v2\/categories?post=814"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/osora.ne0n.xyz\/blog\/wp-json\/wp\/v2\/tags?post=814"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}