eslint-config-urbit
v3.1.0
Published
Urb-it ESLint config
Downloads
10
Readme
Install
:information_desk_person: This config relies dangerously on npm@3 flatter tree for its dependencies (because of eslint/issues/3458), so installation may be as simple as:
npm i -D eslint-config-urbit
Usage
.eslintrc
:
extends:
- urbit/config/common
- urbit/config/node
- urbit/config/esnext
rules:
# custom tweaks
test/.eslintrc
:
extends:
- urbit/config/test
rules:
# custom tweaks
If you use urbit/config/esnext
in webpack environment, add a path to your webpack config file in .eslintrc
(details):
extends:
- urbit/config/common
- urbit/config/esnext
settings:
import/resolver:
webpack:
config: webpack.config.js
Available configs to extend from
- common
- node
- browser
- esnext
- react
- flowtype
- test