@usehatchapp/eslint-config
ESLint Configuration for Hatch React Apps
Installation
npm i -D typescript eslint prettier @usehatchapp/eslint-config
Setup
Add the following files to the root of the new project.
.eslintrc.js
module.exports = {
extends: ["@usehatchapp/eslint-config"]
}
Or you can add the following entry to your package.json file:
"eslintConfig": {
"extends": "@usehatchapp/eslint-config"
}
.eslintignore
You may add additional patterns to a .eslintignore
file or to the "ignorePatterns"
property in your ESLint config, but by default ESLint ignores the dist
and node_modules
folders.