Skip to content

tulipretail/eslint-config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tulip ESLint

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.

About

ESLint Rules for writing JavaScript at Tulip 🌷

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published