1.0.3 • Published 2 years ago
eslint-config-fn v1.0.3
eslint-config-fn
Description
Custom eslint config for Typescript project which incorporates AirBnb, Shopify, prettier, and React Hook configs.
Requirement
- npm version 5+
Usage
- Install package and dependencies
npx install-peerdeps --dev eslint-config-fn -Y -x "-W"
- "-W" will add the dependency to the workspace instead of workspace root
- Create ESLint Config Create a file named .eslintrc.js and add the following:
module.exports = {
extends: "eslint-config-fn",
parser: "@typescript-eslint/parser"
}