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 @cobinhood/eslint-config-cobinhood with all npm packages installed. Try it out:

require("babel-eslint/package.json"); // babel-eslint is a peer dependency. require("eslint/package.json"); // eslint is a peer dependency. require("eslint-plugin-compat/package.json"); // eslint-plugin-compat is a peer dependency. require("eslint-plugin-flowtype/package.json"); // eslint-plugin-flowtype is a peer dependency. require("eslint-plugin-import/package.json"); // eslint-plugin-import is a peer dependency. require("eslint-plugin-react/package.json"); // eslint-plugin-react is a peer dependency. require("eslint-plugin-react-hooks/package.json"); // eslint-plugin-react-hooks is a peer dependency. var eslintConfigCobinhood = require("@cobinhood/eslint-config-cobinhood")

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

@cobinhood/eslint-config-cobinhood v0.2.0

eslint config

eslint-config-cobinhood

npm version

Usage

yarn add --dev eslint-config-cobinhood

Then, extend eslint-config-cobinhood in your .eslintrc:

// for webapp
{
  "extends": "eslint-config-cobinhood/browser"
}

// for node
{
  "extends": "eslint-config-cobinhood/node"
}
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