Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 1,000,000+ packages pre-installed, including eslint-config-precure with all npm packages installed. Try it out:

require("eslint/package.json"); // eslint is a peer dependency. require("typescript/package.json"); // typescript is a peer dependency. var eslintConfigPrecure = require("eslint-config-precure")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

eslint-config-precure v5.4.0

ESLint shareable config for precure

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

Metadata

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free