ESLint shareable config for precure


Keywords
eslint, prettier, react, flowtype, jest, typescript
License
MIT
Install
npm install eslint-config-precure@0.11.2

Documentation

eslint-config-precure

Build Status styled with prettier npm version All Contributors

ESLint shareable config for me

Features

  • prettier
  • React
  • TypeScript
  • flowtype (maintenance mode)

Install

$ yarn add --dev eslint eslint-config-precure
$ npm install --save-dev eslint eslint-config-precure

Usage

.eslintrc

{
  "extends": "precure"
}

TypeScript

{
  "extends": ["precure", "precure/typescript"]
}

Jest

{
  "extends": ["precure", "precure/jest"]
}

Auto Config

if you use typescript, enable typescript-eslint

if you use jest, enable eslint-plugin-jest

if you use react, enable eslint-plugin-react

if you use flow-bin, enable eslint-plugin-flowtype

{
  "extends": "precure/auto"
}

Contributors

Thanks goes to these wonderful people (emoji key):

akameco
akameco

💻 📖 ⚠️ 🚇
bsky
bsky

💻

This project follows the all-contributors specification. Contributions of any kind welcome!

License

MIT © akameco