eslint-config-thinkific-react

2.0.0 • Public • Published

Thinkific ESLint (and Prettier) config - React version

npm version NPM downloads Code Style Prettier MIT License

These are settings for ESLint and Prettier used by Thinkific.

What it does

This setup lints your JavaScript code based on practices. Check the .eslintrc.js file to see what is included. Feel free to override the rules that make sense for you.

Installing

  1. In your project folder, run:
npm i -D eslint-config-thinkific-react # or yarn install --dev eslint-config-thinkific-react
npx install-peerdeps --dev eslint-config-thinkific-react
  1. You will see several dependencies were installed. Now, create (or update) a .eslintrc file with the following content:
{
  'extends': [
    'thinkific-react'
  ]
}
  1. Copy the .prettierrc file from this repository into your project folder

This repository is inspired by eslint-config-wesbos.

Readme

Keywords

none

Package Sidebar

Install

npm i eslint-config-thinkific-react

Weekly Downloads

663

Version

2.0.0

License

MIT

Unpacked Size

16 kB

Total Files

7

Last publish

Collaborators

  • thinkificbot