@atlassian-partner-engineering/eslint-config
ESLint Shareable Config
Note
The idea was to have strict linter config which would fit the best for all the projects and not too annoying to work with.
Airbnb's config was taken as the basis. Some rules of it were rewritten with standard eslint config and some of them with custom rules requested by the team
This config includes:
This config can be used both on server and client side.
Install
npm install -D @atlassian-partner-engineering/eslint-config
Usage
Shareable configs are designed to work with the extends
feature of .eslintrc
files. You can learn more about Shareable Config on the official ESLint website.
Add this to your .eslintrc
file:
{
"extends": "@atlassian-partner-engineering"
}
Note: We omitted the eslint-config
from the full package name since it is automatically assumed by ESLint.
You can override settings from the shareable config by adding them directly into your .eslintrc
file.
Publishing this library
To publish this library:
npm version <patch|minor|major>
npm publish
Don't forget to push commit and tag to the remote.