@droplt/eslint-config
v1.2.0
Published
@droplt eslint shareable configuration
Downloads
4
Readme
ESlint shareable config for droplt.
Install
yarn add eslint @droplt/eslint-config -D
Usage
The shareable config can be configured via the eslint configuration file:
- A
.eslintrc.*
file, written in YAML or JSON, with optional extensions:.yaml
/.yml
/.json
/.js
- A
eslint.config.js
file that exports an object - A
eslintConfig
key in the project'spackage.json
file
// .eslintrc.js
module.exports = {
extends: ['@droplt']
}
// package.json
{
...
"release": {
"extends": "@droplt"
}
}