@tulipjs/eslint-config
v1.1.1
Published
ESLint rules for Web Apps at Tulip.
Downloads
1,403
Readme
This package provides a set of rules for ESLint to be used in your editor of choice. To install, simply run:
npm i -D @tulipjs/eslint-config
In your .eslintrc
file, the most simple setup is as follows:
{
"extends": "@tulipjs"
}
Contributing
If you come across a rule you think should be changed, you can open an Issue or Pull Request in this repo to start a discussion. Link to the official docs for the rule in question on ESLint's site and make your case! This is meant to be a living document and it should evolve over time. Run npm run test
to make sure you didn't add any ESLint errors to this repo.
Branch Naming
Since editing the lint config might not relate to a task or user story, give your branch a descriptive name, perhaps after the rule in question.
Editor Setup
Once your project has a valid .eslintrc
file, you editor needs to know how and when you'd like it to be used. Most editors should be able to work quickly while you type (with a throttle). Below are some examples.
- SublimeLinter - Install via Package Control in Sublime.