{"width":"100%","version":"1.0","height":"190","blog_title":"\u304b\u3082\u30e1\u30e2","url":"https://chaika.hatenablog.com/entry/2020/04/09/083000","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fchaika.hatenablog.com%2Fentry%2F2020%2F04%2F09%2F083000\" title=\"npm script ESlint \u3067 No files matching the pattern \u306a\u30a8\u30e9\u30fc\u306b\u30cf\u30de\u308b\u3002 - \u304b\u3082\u30e1\u30e2\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","categories":["npm","ESLint","Node.js","JavaScript","Tips"],"image_url":"https://m.media-amazon.com/images/I/41TvhpTAAQL._SL160_.jpg","title":"npm script ESlint \u3067 No files matching the pattern \u306a\u30a8\u30e9\u30fc\u306b\u30cf\u30de\u308b\u3002","description":"React \u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306b ESlint + Prettier \u3067\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u3059\u308b\u4ed5\u7d44\u307f\u3092\u5165\u308c\u305f\u306e\u3067\u3059\u304c\u3001npm script \u3067 lint \u3092\u8d70\u3089\u305b\u3088\u3046\u3068\u3057\u305f\u3089\u3001\u30d1\u30bf\u30fc\u30f3\u30de\u30c3\u30c1\u3057\u306a\u3044\u3068\u3044\u3046\u30a8\u30e9\u30fc\u304c\u51fa\u3066\u5c11\u3057\u30cf\u30de\u3063\u305f\u306e\u3067\u30e1\u30e2 \u554f\u984c\u306e npm script // package.json \"scripts\": { \"lint\": \"eslint --fix src/**/{*.js,*.jsx}\" } \ud83d\udc47\u8868\u793a\u3055\u308c\u308b\u30a8\u30e9\u30fc $ yarn run lint $ eslint --fix src/**/{*.js,*.jsx} Oops! Something went wrong! :( ESLint\u2026","blog_url":"https://chaika.hatenablog.com/","author_name":"kikiki-kiki","type":"rich","published":"2020-04-09 08:30:00","provider_name":"Hatena Blog","provider_url":"https://hatena.blog","author_url":"https://blog.hatena.ne.jp/kikiki-kiki/"}