0.3.0 • Published 6 months ago
eslint-config-reearth v0.3.0
eslint-config-reearth
An extensible shared ESLint config for Re:Earth projects
How to install
npm install eslint prettier eslint-config-reearth --save-dev
Then edit your ESLint config file:
module.exports = {
extends: ["reearth"],
};
Config
- reearth
- reearth/common
- reearth/commonjs
- reearth/typescript
- reearth/node
- reearth/node-commonjs
- reearth/noprettier
- reearth/prettier
- reearth/react
- reearth/test
- reearth/test-react
Flat config
import config from "eslint-config-reearth/flat";
export default config;
See flat
dir. Currently only config that uses .mjs
is supported. Prettier is no longer enabled by default, but is opt-in.