@carimus/eslint-config-web
v1.2.0
Published
A base eslint config for Carimus web projects
Readme
Carimus ESLint Config for Web
The prettier config used by Carimus web projects. This config is a good base config for any JS project that uses eslint.
- Extends
eslint-config-standardwhich is the eslint config that enforces standard JS code standards. Read more about those here. - Uses
babel-eslintparser with support for modules andexperimentalObjectRestSpread. - Includes the
eslint-plugin-jestplugin and configuration for e.g. Jest globals. - Includes the
eslint-config-prettierpreset config in order to unset any rules that would conflict with prettier. - Some minor rule overrides that:
- ban
var - ban
consolestatement - ban
undefined - require camel cased variable names
- some other minor tweaks built-up over time across projects to promote healthier code
- ban
TODO
- [ ] For React projects, there will be a separate config that includes the react-specific stuff that extends this one.
