{"id":345628,"date":"2021-07-30T13:07:06","date_gmt":"2021-07-30T20:07:06","guid":{"rendered":"https:\/\/css-tricks.com\/?p=345628"},"modified":"2021-07-30T13:08:41","modified_gmt":"2021-07-30T20:08:41","slug":"a-shared-eslint-configuration","status":"publish","type":"post","link":"https:\/\/css-tricks.com\/a-shared-eslint-configuration\/","title":{"rendered":"A Shared ESLint Configuration"},"content":{"rendered":"\n

Looks like<\/a> it was almost 9 years ago when Airbnb first published their JavaScript Style Guide<\/a>. 112k stars on GitHub later, it seems like the de facto preset<\/a> for Babel \/ ES Lint. But it’s not the only company out there with public ES Lint setups. Katy recently shared<\/a> Mapbox’s setup. <\/p>\n\n\n\n

ESLint plugins will help keep your code consistent and improve the quality, but they are also excellent teaching tools. When I come across a plugin, I take joy in reading each rule to learn the benefits of enabling or disabling it.<\/p>Katy DeCorah<\/em>, “A shared ESLint configuration”<\/a><\/cite><\/blockquote>\n\n\n\n

Sophisticated linting as-you-author is one of those things that has really upped the game of development over the years.<\/p>\n","protected":false},"excerpt":{"rendered":"

Looks like it was almost 9 years ago when Airbnb first published their JavaScript Style Guide. 112k stars on GitHub later, it seems like the de facto preset for Babel \/ ES Lint. But it’s not the only company out there with public ES Lint setups. Katy recently shared Mapbox’s setup. ESLint plugins will help […]<\/p>\n","protected":false},"author":3,"featured_media":339448,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"sig_custom_text":"KATY DECORAH: A Shared ES Lint Configuration","sig_image_type":"featured-image","sig_custom_image":0,"sig_is_disabled":false,"inline_featured_image":false,"c2c_always_allow_admin_comments":false,"footnotes":"","jetpack_publicize_message":"","jetpack_is_tweetstorm":false,"jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":[]},"categories":[4,17],"tags":[18963],"jetpack_publicize_connections":[],"acf":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/css-tricks.com\/wp-content\/uploads\/2021\/04\/js-label-code.png?fit=1200%2C600&ssl=1","jetpack-related-posts":[],"_links":{"self":[{"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/posts\/345628"}],"collection":[{"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/comments?post=345628"}],"version-history":[{"count":4,"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/posts\/345628\/revisions"}],"predecessor-version":[{"id":345662,"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/posts\/345628\/revisions\/345662"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/media\/339448"}],"wp:attachment":[{"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/media?parent=345628"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/categories?post=345628"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/tags?post=345628"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}