Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Integrate "eslint-plugin-babel" with override rules
To make use of the latest experimental Babel features and proposals eslint-plugin-babel (1) has been added. The following rules have been enabled and configured: - `babel/camelcase` with level `error` - doesn't complain about optional chaining (`let foo = bar?.a_b;`). The core rule `camelcase` (2) has been disabled. - `babel/no-unused-expressions` with level `error` - doesn't fail when using `do` expressions or optional chaining (`a?.b()`). The core rule `no-unused-expressions` (3) has been disabled. References: (1) https://github.com/babel/eslint-plugin-babel (2) https://eslint.org/docs/rules/camelcase (3) https://eslint.org/docs/rules/no-unused-expressions GH-15
- Loading branch information