{"id":19128,"date":"2019-01-29T21:16:41","date_gmt":"2019-01-29T13:16:41","guid":{"rendered":"https:\/\/www.hongkiat.com\/blog\/?p=19128"},"modified":"2024-05-27T22:28:12","modified_gmt":"2024-05-27T14:28:12","slug":"guide-to-using-sublimelinter4","status":"publish","type":"post","link":"https:\/\/www.hongkiat.com\/blog\/guide-to-using-sublimelinter4\/","title":{"rendered":"How to Effectively Use SublimeLinter in SublimeText for Better Code Quality"},"content":{"rendered":"<p><em>Linter<\/em> is an indispensable tool in modern web development. It helps us identify errors and promotes best practices while coding. If you\u2019re a SublimeText user, installing SublimeLinter is highly recommended. Over the years, SublimeLinter has evolved into a robust tool suite within SublimeText, offering official packages that integrate with linters for various programming languages.<\/p>\n<p>In this tutorial, we\u2019ll explore how to install and configure SublimeLinter. Let\u2019s dive in!<\/p>\n<div class=\"ref-block ref-block--post\" id=\"ref-post-1\">\n\t\t\t\t\t<a href=\"https:\/\/www.hongkiat.com\/blog\/sublime-text-tips\/\" class=\"ref-block__link\" title=\"Read More: 12 Best Sublime Text Tips and Tricks\" rel=\"bookmark\"><span class=\"screen-reader-text\">12 Best Sublime Text Tips and Tricks<\/span><\/a>\n<div class=\"ref-block__thumbnail img-thumb img-thumb--jumbo\" data-img='{ \"src\" : \"https:\/\/assets.hongkiat.com\/uploads\/thumbs\/250x160\/sublime-text-tips.jpg\" }'>\n\t\t\t\t\t\t\t<noscript>\n<style>.no-js #ref-block-post-18706 .ref-block__thumbnail { background-image: url(\"https:\/\/assets.hongkiat.com\/uploads\/thumbs\/250x160\/sublime-text-tips.jpg\"); }<\/style>\n<\/noscript>\n\t\t\t\t\t\t<\/div>\n<div class=\"ref-block__summary\">\n<h4 class=\"ref-title\">12 Best Sublime Text Tips and Tricks<\/h4>\n<p class=\"ref-description\">\n\t\t\t\t\t\tYou probably know by now that we are fans of Sublime Text. It might look like a very...\t\t\t\t\t\t<span>Read more<\/span><\/p>\n<\/div>\n<\/div>\n<h2>Getting Started with SublimeLinter 4<\/h2>\n<p>The easiest way to install SublimeLinter 4 is through <a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/packagecontrol.io\/\">SublimeText Package Control<\/a>. Since the release of <strong>SublimeLinter 3<\/strong>, each <em>linter<\/em> needs to be installed separately to enhance efficiency by only activating the <em>linters<\/em> that are installed.<\/p>\n<p>As a developer primarily working with HTML, CSS, JavaScript, and PHP, I usually install linters for these languages. In the <strong>Package Control<\/strong>, I install <a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/github.com\/SublimeLinter\/SublimeLinter\">SublimeLinter<\/a> along with these plugins:<\/p>\n<ul>\n<li><a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/github.com\/SublimeLinter\/SublimeLinter-html-tidy\">SublimeLinter-html-tidy<\/a><\/li>\n<li><a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/github.com\/SublimeLinter\/SublimeLinter-stylelint\">SublimeLinter-stylelint<\/a><\/li>\n<li><a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/github.com\/SublimeLinter\/SublimeLinter-eslint\">SublimeLinter-eslint<\/a><\/li>\n<li><a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/github.com\/SublimeLinter\/SublimeLinter-php\">SublimeLinter-php<\/a><\/li>\n<\/ul>\n<p>For these plugins to function, you\u2019ll also need to install the respective <code>linters<\/code> for each language. Here are the necessary tools:<\/p>\n<ul>\n<li><a rel=\"nofollow noopener\" target=\"_blank\" href=\"http:\/\/tidy.sourceforge.net\/\">HTML Tidy<\/a><\/li>\n<li><a rel=\"nofollow noopener\" target=\"_blank\" href=\"http:\/\/csslint.net\/\">CSSLint<\/a><\/li>\n<li><a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/jshint.com\/\">JSHint<\/a><\/li>\n<li><a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/www.php.net\/manual\/en\/features.commandline.options.php\">PHP CLI<\/a><\/li>\n<\/ul>\n<p>If you are using macOS, Tidy and PHP are pre-installed. You can check their versions by running these commands:<\/p>\n<pre>\r\ntidy --version\r\nphp --version\r\n<\/pre>\n<p>This will display the installed versions of Tidy and PHP, ready to use in Sublime Text.<\/p>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/guide-to-using-sublimelinter4\/check-version.jpg\" alt=\"Checking version on Terminal\" width=\"750\" height=\"463\"><\/figure>\n<p>If you are on Windows or Linux, or if these tools are not installed, follow the installation instructions below.<\/p>\n<h3>Installing HTML Tidy<\/h3>\n<p>To set up HTML Tidy, use these platform-specific commands:<\/p>\n<ul>\n<li><strong>On macOS:<\/strong> <code>brew install homebrew\/dupes\/tidy<\/code><\/li>\n<li><strong>On Linux:<\/strong> <code>sudo apt-get install tidy<\/code><\/li>\n<li><strong>On Windows:<\/strong> download the EXE installer from <a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/tidybatchfiles.info\/\">TidyBatchFiles<\/a>.<\/li>\n<\/ul>\n<h3>Installing PHP CLI<\/h3>\n<p>Follow these instructions to install PHP CLI on different operating systems:<\/p>\n<ul>\n<li>For macOS: <code>curl -s http:\/\/php-macOS.liip.ch\/install.sh | bash -s 5.5<\/code> to install PHP 5.5.<\/li>\n<li>For Linux: refer to <a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/www.digitalocean.com\/community\/articles\/how-to-install-linux-apache-mysql-php-lamp-stack-on-ubuntu\">this comprehensive tutorial from DigitalOcean<\/a>.<\/li>\n<li>For Windows: download the installer from <a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/windows.php.net\/download\/\">here<\/a>.<\/li>\n<\/ul>\n<h3>Installing Stylelint<\/h3>\n<p>Next, let\u2019s install Stylelint, a CSS linter that helps enforce best practices in your CSS files. These instructions apply to macOS, Windows, and Linux. Ensure you\u2019ve installed <a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/nodejs.org\/en\/download\/\">Node.js<\/a> and <a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/www.npmjs.com\/\">NPM<\/a> beforehand.<\/p>\n<p>To install Stylelint, execute the following command:<\/p>\n<pre>\r\nnpm install -g stylelint\r\n<\/pre>\n<p>You\u2019ll also need to incorporate a <a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/stylelint.io\/user-guide\/configuration\/\">Stylelint configuration file<\/a> into your project directory. Additionally, consider installing a predefined config like <a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/github.com\/stylelint\/stylelint-config-standard\">stylelint-config-standard<\/a>. Once configured, you\u2019ll see highlighted errors as shown below.<\/p>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/guide-to-using-sublimelinter4\/stylelint-errors.jpg\" alt=\"Stylelint error highlights\" width=\"750\" height=\"463\"><\/figure>\n<h3>Installing ESLint<\/h3>\n<p>We will also install ESLint, a configurable linter for JavaScript that helps enforce coding standards and identify potential errors. Ensure you have <a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/www.hongkiat.com\/blog\/node-js-server-side-javascript\/\">Node.js<\/a> and NPM installed.<\/p>\n<p>To install ESLint, run:<\/p>\n<pre>\r\nnpm install -g eslint\r\n<\/pre>\n<p>Next, <a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/eslint.org\/docs\/user-guide\/configuring\">add the ESLint configuration<\/a> to your project, or use a predefined configuration such as <a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/www.npmjs.com\/package\/eslint-config-recommended\">eslint-config-recommended<\/a>.<\/p>\n<p>With these tools, you\u2019re ready to start linting HTML, CSS, JavaScript, and PHP files in SublimeText using SublimeLinter 4.<\/p>\n<h2>New Features in SublimeLinter 4<\/h2>\n<p>SublimeLinter 4 introduces several enhancements, including an error panel that displays all errors in the open files. For Mac users, press <span class=\"key\">Command<\/span> + <span class=\"key\">Ctrl<\/span> + <span class=\"key\">A<\/span>. Windows and Linux users can use <span class=\"key\">Ctrl<\/span> + <span class=\"key\">K<\/span>, <span class=\"key\">Ctrl<\/span> + <span class=\"key\">A<\/span>.<\/p>\n<p>The hotkey reveals a list of errors, as illustrated below. Use the <span class=\"key\">\u2191<\/span> and <span class=\"key\">\u2193<\/span> keys to navigate through the list, which automatically scrolls to the error\u2019s location.<\/p>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/guide-to-using-sublimelinter4\/error-panel.jpg\" alt=\"Error panel in SublimeLinter 4\" width=\"750\" height=\"463\"><\/figure>\n<p>Additionally, it\u2019s now possible to hover over an error in the gutter or directly on the line to view detailed error messages \u2013 a significant improvement over the previous version.<\/p>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/guide-to-using-sublimelinter4\/error-on-hover.jpg\" alt=\"Error details on hover in SublimeLinter 4\" width=\"750\" height=\"460\"><\/figure>\n<h3>Highly Configurable<\/h3>\n<p>SublimeLinter 4 is more customizable than ever. You can now apply custom \u201cstyles\u201d to each linter\u2019s configuration, setting specific icons, colors, lint modes, paths, and environment variables independently for each linter.<\/p>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/guide-to-using-sublimelinter4\/user-setting.jpg\" alt=\"Custom user settings in SublimeLinter 4\" width=\"750\" height=\"460\"><\/figure>\n<h3>Further Reference<\/h3>\n<p>This guide should help you get started with SublimeLinter. For more advanced topics, consider exploring the following resources:<\/p>\n<ul>\n<li><a rel=\"nofollow noopener\" target=\"_blank\" href=\"http:\/\/sublimelinter.com\">SublimeLinter Official Documentation<\/a><\/li>\n<li><a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/en.wikipedia.org\/wiki\/Lint_(software)\">Lint in software and programming on Wikipedia<\/a><\/li>\n<li><a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/github.com\/SublimeLinter\">SublimeLinter Repositories on GitHub<\/a><\/li>\n<\/ul>","protected":false},"excerpt":{"rendered":"<p>Linter is an indispensable tool in modern web development. It helps us identify errors and promotes best practices while coding. If you\u2019re a SublimeText user, installing SublimeLinter is highly recommended. Over the years, SublimeLinter has evolved into a robust tool suite within SublimeText, offering official packages that integrate with linters for various programming languages. In&hellip;<\/p>\n","protected":false},"author":113,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[3392],"tags":[2499],"topic":[4520],"class_list":["entry-content","is-maxi"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v22.8 (Yoast SEO v27.4) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>How to Effectively Use SublimeLinter in SublimeText for Better Code Quality - Hongkiat<\/title>\n<meta name=\"description\" content=\"Linter is an indispensable tool in modern web development. It helps us identify errors and promotes best practices while coding. If you&#039;re a SublimeText\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.hongkiat.com\/blog\/guide-to-using-sublimelinter4\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Effectively Use SublimeLinter in SublimeText for Better Code Quality\" \/>\n<meta property=\"og:description\" content=\"Linter is an indispensable tool in modern web development. It helps us identify errors and promotes best practices while coding. If you&#039;re a SublimeText\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.hongkiat.com\/blog\/guide-to-using-sublimelinter4\/\" \/>\n<meta property=\"og:site_name\" content=\"Hongkiat\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/hongkiatcom\" \/>\n<meta property=\"article:published_time\" content=\"2019-01-29T13:16:41+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-05-27T14:28:12+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/assets.hongkiat.com\/uploads\/guide-to-using-sublimelinter4\/check-version.jpg\" \/>\n<meta name=\"author\" content=\"Thoriq Firdaus\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@tfirdaus\" \/>\n<meta name=\"twitter:site\" content=\"@hongkiat\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Thoriq Firdaus\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/guide-to-using-sublimelinter4\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/guide-to-using-sublimelinter4\\\/\"},\"author\":{\"name\":\"Thoriq Firdaus\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#\\\/schema\\\/person\\\/e7948c7a175d211496331e4b6ce55807\"},\"headline\":\"How to Effectively Use SublimeLinter in SublimeText for Better Code Quality\",\"datePublished\":\"2019-01-29T13:16:41+00:00\",\"dateModified\":\"2024-05-27T14:28:12+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/guide-to-using-sublimelinter4\\\/\"},\"wordCount\":591,\"commentCount\":1,\"publisher\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/guide-to-using-sublimelinter4\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/assets.hongkiat.com\\\/uploads\\\/guide-to-using-sublimelinter4\\\/check-version.jpg\",\"keywords\":[\"sublime text\"],\"articleSection\":[\"Coding\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/guide-to-using-sublimelinter4\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/guide-to-using-sublimelinter4\\\/\",\"url\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/guide-to-using-sublimelinter4\\\/\",\"name\":\"How to Effectively Use SublimeLinter in SublimeText for Better Code Quality - Hongkiat\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/guide-to-using-sublimelinter4\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/guide-to-using-sublimelinter4\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/assets.hongkiat.com\\\/uploads\\\/guide-to-using-sublimelinter4\\\/check-version.jpg\",\"datePublished\":\"2019-01-29T13:16:41+00:00\",\"dateModified\":\"2024-05-27T14:28:12+00:00\",\"description\":\"Linter is an indispensable tool in modern web development. It helps us identify errors and promotes best practices while coding. If you're a SublimeText\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/guide-to-using-sublimelinter4\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/guide-to-using-sublimelinter4\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/guide-to-using-sublimelinter4\\\/#primaryimage\",\"url\":\"https:\\\/\\\/assets.hongkiat.com\\\/uploads\\\/guide-to-using-sublimelinter4\\\/check-version.jpg\",\"contentUrl\":\"https:\\\/\\\/assets.hongkiat.com\\\/uploads\\\/guide-to-using-sublimelinter4\\\/check-version.jpg\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/guide-to-using-sublimelinter4\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Effectively Use SublimeLinter in SublimeText for Better Code Quality\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/\",\"name\":\"Hongkiat\",\"description\":\"Tech and Design Tips\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#organization\",\"name\":\"Hongkiat.com\",\"url\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/wp-content\\\/uploads\\\/hkdc-logo-rect-yoast.jpg\",\"contentUrl\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/wp-content\\\/uploads\\\/hkdc-logo-rect-yoast.jpg\",\"width\":1200,\"height\":799,\"caption\":\"Hongkiat.com\"},\"image\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/hongkiatcom\",\"https:\\\/\\\/x.com\\\/hongkiat\",\"https:\\\/\\\/www.pinterest.com\\\/hongkiat\\\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#\\\/schema\\\/person\\\/e7948c7a175d211496331e4b6ce55807\",\"name\":\"Thoriq Firdaus\",\"description\":\"Thoriq is a writer for Hongkiat.com with a passion for web design and development. He is the author of Responsive Web Design by Examples, where he covered his best approaches in developing responsive websites quickly with a framework.\",\"sameAs\":[\"https:\\\/\\\/thoriq.com\",\"https:\\\/\\\/x.com\\\/tfirdaus\"],\"jobTitle\":\"Web Developer\",\"url\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/author\\\/thoriq\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"How to Effectively Use SublimeLinter in SublimeText for Better Code Quality - Hongkiat","description":"Linter is an indispensable tool in modern web development. It helps us identify errors and promotes best practices while coding. If you're a SublimeText","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.hongkiat.com\/blog\/guide-to-using-sublimelinter4\/","og_locale":"en_US","og_type":"article","og_title":"How to Effectively Use SublimeLinter in SublimeText for Better Code Quality","og_description":"Linter is an indispensable tool in modern web development. It helps us identify errors and promotes best practices while coding. If you're a SublimeText","og_url":"https:\/\/www.hongkiat.com\/blog\/guide-to-using-sublimelinter4\/","og_site_name":"Hongkiat","article_publisher":"https:\/\/www.facebook.com\/hongkiatcom","article_published_time":"2019-01-29T13:16:41+00:00","article_modified_time":"2024-05-27T14:28:12+00:00","og_image":[{"url":"https:\/\/assets.hongkiat.com\/uploads\/guide-to-using-sublimelinter4\/check-version.jpg","type":"","width":"","height":""}],"author":"Thoriq Firdaus","twitter_card":"summary_large_image","twitter_creator":"@tfirdaus","twitter_site":"@hongkiat","twitter_misc":{"Written by":"Thoriq Firdaus","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.hongkiat.com\/blog\/guide-to-using-sublimelinter4\/#article","isPartOf":{"@id":"https:\/\/www.hongkiat.com\/blog\/guide-to-using-sublimelinter4\/"},"author":{"name":"Thoriq Firdaus","@id":"https:\/\/www.hongkiat.com\/blog\/#\/schema\/person\/e7948c7a175d211496331e4b6ce55807"},"headline":"How to Effectively Use SublimeLinter in SublimeText for Better Code Quality","datePublished":"2019-01-29T13:16:41+00:00","dateModified":"2024-05-27T14:28:12+00:00","mainEntityOfPage":{"@id":"https:\/\/www.hongkiat.com\/blog\/guide-to-using-sublimelinter4\/"},"wordCount":591,"commentCount":1,"publisher":{"@id":"https:\/\/www.hongkiat.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.hongkiat.com\/blog\/guide-to-using-sublimelinter4\/#primaryimage"},"thumbnailUrl":"https:\/\/assets.hongkiat.com\/uploads\/guide-to-using-sublimelinter4\/check-version.jpg","keywords":["sublime text"],"articleSection":["Coding"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.hongkiat.com\/blog\/guide-to-using-sublimelinter4\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.hongkiat.com\/blog\/guide-to-using-sublimelinter4\/","url":"https:\/\/www.hongkiat.com\/blog\/guide-to-using-sublimelinter4\/","name":"How to Effectively Use SublimeLinter in SublimeText for Better Code Quality - Hongkiat","isPartOf":{"@id":"https:\/\/www.hongkiat.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.hongkiat.com\/blog\/guide-to-using-sublimelinter4\/#primaryimage"},"image":{"@id":"https:\/\/www.hongkiat.com\/blog\/guide-to-using-sublimelinter4\/#primaryimage"},"thumbnailUrl":"https:\/\/assets.hongkiat.com\/uploads\/guide-to-using-sublimelinter4\/check-version.jpg","datePublished":"2019-01-29T13:16:41+00:00","dateModified":"2024-05-27T14:28:12+00:00","description":"Linter is an indispensable tool in modern web development. It helps us identify errors and promotes best practices while coding. If you're a SublimeText","breadcrumb":{"@id":"https:\/\/www.hongkiat.com\/blog\/guide-to-using-sublimelinter4\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.hongkiat.com\/blog\/guide-to-using-sublimelinter4\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.hongkiat.com\/blog\/guide-to-using-sublimelinter4\/#primaryimage","url":"https:\/\/assets.hongkiat.com\/uploads\/guide-to-using-sublimelinter4\/check-version.jpg","contentUrl":"https:\/\/assets.hongkiat.com\/uploads\/guide-to-using-sublimelinter4\/check-version.jpg"},{"@type":"BreadcrumbList","@id":"https:\/\/www.hongkiat.com\/blog\/guide-to-using-sublimelinter4\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.hongkiat.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to Effectively Use SublimeLinter in SublimeText for Better Code Quality"}]},{"@type":"WebSite","@id":"https:\/\/www.hongkiat.com\/blog\/#website","url":"https:\/\/www.hongkiat.com\/blog\/","name":"Hongkiat","description":"Tech and Design Tips","publisher":{"@id":"https:\/\/www.hongkiat.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.hongkiat.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.hongkiat.com\/blog\/#organization","name":"Hongkiat.com","url":"https:\/\/www.hongkiat.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.hongkiat.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.hongkiat.com\/blog\/wp-content\/uploads\/hkdc-logo-rect-yoast.jpg","contentUrl":"https:\/\/www.hongkiat.com\/blog\/wp-content\/uploads\/hkdc-logo-rect-yoast.jpg","width":1200,"height":799,"caption":"Hongkiat.com"},"image":{"@id":"https:\/\/www.hongkiat.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/hongkiatcom","https:\/\/x.com\/hongkiat","https:\/\/www.pinterest.com\/hongkiat\/"]},{"@type":"Person","@id":"https:\/\/www.hongkiat.com\/blog\/#\/schema\/person\/e7948c7a175d211496331e4b6ce55807","name":"Thoriq Firdaus","description":"Thoriq is a writer for Hongkiat.com with a passion for web design and development. He is the author of Responsive Web Design by Examples, where he covered his best approaches in developing responsive websites quickly with a framework.","sameAs":["https:\/\/thoriq.com","https:\/\/x.com\/tfirdaus"],"jobTitle":"Web Developer","url":"https:\/\/www.hongkiat.com\/blog\/author\/thoriq\/"}]}},"jetpack_featured_media_url":"https:\/\/","jetpack_shortlink":"https:\/\/wp.me\/p4uxU-4Yw","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/posts\/19128","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/users\/113"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/comments?post=19128"}],"version-history":[{"count":4,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/posts\/19128\/revisions"}],"predecessor-version":[{"id":72011,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/posts\/19128\/revisions\/72011"}],"wp:attachment":[{"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/media?parent=19128"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/categories?post=19128"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/tags?post=19128"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/topic?post=19128"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}