@tresmo/config-eslint
v0.2.8
Published
## Installation
Downloads
1
Readme
@tresmo/config-eslint
Installation
install the dependencies
yarn add --dev eslint @tresmo/config-eslint
and create a .eslintrc.json
anywhere in your project and add the full relative path to this
package's index.js
. The full path is because of how eslint treats extends
statements by
expecting a certain package name convention that we don't follow (yet)
{
"extends": ["./node_modules/@tresmo/config-eslint/index.js"]
}
You might also want to add an .eslintignore
file with the following contents,
because eslint does not ignore any matching files out of the box.
dist/
node_modules/