This package provides the following services:
This project is forked from the linter-rorybot. Huge thanks to Shopify developers who have came up with this amazing idea!
linter-elizabot
Atom linter meets elizabot to enforce Intercom content style.
linter-elizabot is an Atom package that uses elizabot to check for style errors according to the ic-retext ruleset.
Install linter-elizabot 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 upSettings View: Install Packages And Themes
. Pressenter
. - 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 elizabot linter
- Type
linter-elizabot
in the Install Packages and Themes search box and press the Install button next to linter-elizabot. - Quit and reopen Atom.
The next time you launch Atom, the package linter-elizabot should be active, and your Markdown and HTML files should be linted according to Shopify style.
Linting custom file types
By default, linter-elizabot works on the following languages:
source.gfm, text.html.basic, text.html.ruby, text.plain
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 might have to restart Atom for changes to your language list to take effect.
Contributing
Raise issues for the Atom plugin in this repository. Raise issues with elizabot in its repository. The style guide ruleset is in the ic-retext repository.