eslint-config-fireside
v2.0.3
Published
ESLint + Prettier configurations for Fireside's TypeScript projects.
Downloads
12
Readme
eslint-config-fireside
ESLint + Prettier configurations for Fireside's TypeScript projects.
Documentation
The style guide enforced by these configurations extends from the mature and thoroughly-documented Airbnb JavaScript Style Guide.
Installation
yarn add eslint-config-fireside eslint prettier typescript --dev
touch .eslintrc.js
Install peer ESLint plugins and configs
ESLint plugins used by this config must also be installed within your project. This is a limitation within ESLint (see RFC and progress).
npm install eslint-plugin-import@^2.22.0 \
eslint-plugin-jsx-a11y@^6.3.1 \
eslint-plugin-react@^7.20.3 \
eslint-plugin-react-hooks@^4.0.8 \
eslint-config-prettier@^8.1.0 \
eslint-plugin-prettier@^3.3.1 \
[email protected] \
@typescript-eslint/eslint-plugin@^4.4.1 \
--save-dev
.eslintrc.js
module.exports = {
extends: ["fireside"],
parserOptions: {
project: "./tsconfig.json",
},
};