@1f8/eslint-config-react

1.2.0 • Public • Published

ESlint Setup for 1F8

Helps you with styling your code. Don't believe there's any correct way, but this way fits our style.

NPM Github

Instructions

# Gatsby
yarn add -D @1f8/eslint-config-react
cp node_modules/@1f8/eslint-config-react/.eslintignore .eslintignore

# React
cp node_modules/@1f8/eslint-config-react/.eslintignore .eslintignore
npx install-peerdeps -D @1f8/eslint-config-react
touch .eslintrc
/** .eslintrc */
{
  "extends": ["@1f8/eslint-config-react"]
}

Debug

  • If you have any typescript files that isn't being ignored, an error will be thrown if you dont have a typescript linter

Readme

Keywords

Package Sidebar

Install

npm i @1f8/eslint-config-react

Weekly Downloads

1

Version

1.2.0

License

MIT

Unpacked Size

5.06 kB

Total Files

7

Last publish

Collaborators

  • 1f8