2.0.0 • Published 2 years ago
eslint-config-thinkific v2.0.0
Thinkific ESLint (and Prettier) config - Vanilla JS version
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
- In your project folder, run:
npm i -D eslint-config-thinkific # or yarn install --dev eslint-config-thinkific
npx install-peerdeps --dev eslint-config-thinkific
- You will see several dependencies were installed. Now, create (or update) a
.eslintrc
file with the following content:
{
'extends': [
'thinkific'
]
}
- Copy the .prettierrc file from this repository into your project folder
This repository is inspired by eslint-config-wesbos.