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
@carimus/eslint-config-reactfor React Web projects@carimus/eslint-config-react-nativefor React Native projects@carimus/prettier-configto configure Prettier.