1 | # ES.Next Standard Style
|
2 | [JavaScript Standard Style](https://github.com/feross/standard) for ES.Next
|
3 |
|
4 | ## Installing
|
5 | Install it locally to your project by running:
|
6 |
|
7 | ```bash
|
8 | yarn add --dev standard-esnext
|
9 | ```
|
10 |
|
11 | Ensure that `node_modules/.bin` is on your `PATH`
|
12 |
|
13 | ## Usage
|
14 | ```
|
15 | standard
|
16 | ```
|
17 |
|
18 | Refer to the base [standard](https://github.com/feross/standard) package for
|
19 | documentation.
|
20 |
|
21 | ## What's Included
|
22 | * `babel-eslint` enables linting of experimental features as well
|
23 | as extensions to the language like Flow.
|
24 | * `eslint-plugin-flowtype` applies complementary rules to Flow annotations.
|
25 | * `eslint-plugin-import` checks validity of `import` and `export` statements.
|
26 | Aliases defined using `babel-plugin-module-resolver` are supported. Package
|
27 | name aliases defined by `babel-plugin-package-name-import` are also
|
28 | supported.
|
29 | * `eslint-plugin-prettier` ensures consistent and uniform formatting
|
30 |
|
31 | Note that because Flow already resolves and validates imports, if the `flow-bin`
|
32 | package is installed, overlapping rules from `eslint-plugin-import` will be
|
33 | disabled.
|