eslint-config-sketch-web
v1.0.0
Published
This is the ESLint config that's used for all Sketch Web projects that are written in React.
Downloads
2
Readme
eslint-config-sketch-web
This is the ESLint config that's used for all Sketch Web projects that are written in React.
Installation
npm install --save-dev eslint-config-sketch-web
Usage
Shareable configs are designed to work with the extends
feature of .eslintrc
files.
You can learn more about Shareable Configs on the official ESLint website.
This Shareable Config adds specific rules used for Sketch Web projects in addition to the baseline JavaScript Standard Style rules provided by eslint-config-standard
and eslint-config-standard-react
.
Here's how to install everything you need:
npm install --save-dev eslint-config-sketch-web eslint-config-standard eslint-config-standard-react eslint-config-standard-jsx eslint-plugin-react
Then, add this to your .eslintrc file:
{
"extends": ["sketch-web"]
}