rise of Babylon
- Internal parser is now Babylon (6) by default (so generally, you can remove
babel-eslint
asimport/parser
) - published eslint-config-import with 3 different stock configs
- all rules are off by default; use config package +
import/warnings
to get previous defaults:
---
extends:
- 'eslint:recommended' # or your favorite base config
- import/warnings # or just `import` if you want only the basics
- import/es7-jsx # will configure the parser for stage 1 ES7 syntax + JSX
Both import/warnings
and import/es7-jsx
extend the base import
config, so you only need to mention it explicitly if you want only the basic config. All 3 will set plugins: - import
for you, too.
import/parse-options
setting allows custom configuration options for Babylon, or whatever parser package you specified withimport/parser