You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
linter-rorybot is an Atom package that uses rorybot to check for style errors according to the retext-shopify ruleset.
Install linter-rorybot in Atom
Installing the linter takes a few steps in your terminal.
Install the base linter
Most linters depend on a "base" linter package that provides general line highlighting and error message functionality.
Open Atom.
Press cmd + shift + p to open the command palette.
Type install pack to bring up Settings View: Install Packages And Themes. Press enter.
Type base linter in the search box and press the Install button next to linter (the one described as "A Base Linter with Cow Powers.")
Install the rorybot linter
Type linter-rorybot in the Install Packages and Themes search box and press the Install button next to linter-rorybot.
Quit and reopen Atom.
The next time you launch Atom, the package linter-rorybot should be active, and your Markdown and HTML files should be linted according to Shopify style.
Linting custom file types
By default, linter-rorybot works on the following languages:
You can add custom languages to this list if you normally work with other kinds of files, for example, adding source.ruby will enable the style guide linter for Ruby (.rb) files.
Note that adding a custom language overwrites the default list, so unless you add the default languages in your custom list, the linter will only run on the custom languages you've specified.
You may have to restart Atom for changes to your language list to take effect.