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 400,000 packages pre-installed, including @lab9k/eslint-config with all npm packages installed. Try it out:

require("eslint/package.json"); // eslint is a peer dependency. require("eslint-plugin-import/package.json"); // eslint-plugin-import is a peer dependency. require("eslint-plugin-node/package.json"); // eslint-plugin-node is a peer dependency. require("eslint-plugin-promise/package.json"); // eslint-plugin-promise is a peer dependency. var eslintConfig = require("@lab9k/eslint-config")

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

@lab9k/eslint-config v1.0.4

eslint-config-lab9k

eslint config for lab9k javascript projects.

installation

npm install @lab9k/eslint-config

OR for an easier installation of peerDependencies you can also install this package with

npx install-peerdeps @lab9k/eslint-config -d

then in your .eslintrc configuration file (e.g.: .eslintrc.json) you can extend this configuration.

{
  "extends": ["@lab9k"]
}

contribution

If you feel like some rules should be configured better, please submit a pull request.

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