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

require("eslint/package.json"); // eslint is a peer dependency. var eslintConfigTemplate = require("eslint-config-template")

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

eslint-config-template v0.0.0

Skeleton for ESLint shareable configs

eslint-config-template

Skeleton for ESLint shareable configs.

Latest Stable Version Build Status Greenkeeper

Example of valid code:

// # TODO
//
// - Clone this repository and push it to your own. DO NOT FORK IT, unless you are certain you will
//   only do it once (GitHub doesn't allow multiple forks of the same project on the same account).
//
//       git clone https://github.com/amercier/eslint-config-template.git <YOUR_REPOSITORY_NAME>
//       git remote rename origin upstream
//       git remote add origin <YOUR_REPOSITORY_GIT_URL>
//       git push -u origin master
//
// - Enable repository in Travis CI, trigger manual build
// - Install and enable Greenkeeper: https://github.com/settings/installations/51959
// - Replace `amercier/eslint-config-template` by your Github repo
// - Replace `eslint-config-template` by your NPM package name
// - Replace `template` by your NPM package name without "eslint-config-"
// - Replace `Alex Mercier` by your name.
// - Replace `https://amercier.com/` by your website.
// - Replace `pro.alexandre.mercier@gmail.com` by your e-mail address.
// - Replace description in `package.json`.
// - Replace keywords in `package.json` after "verify".
// - Go to https://www.npmjs.com/ and create a new NPM access token.
// - Set GITHUB_TOKEN environment variable the token value in Travis CI project settings.
// - Run `git tag v0.0.0 && git push --tags` to publish version 0.0.0
// - Replace this todo list by actual Javascript example.
// - Edit `index.json`
// - Edit `test/fixture`
// - Set version to `0.1.0` in `package.json`
// - Run `git tag v0.1.0 && git push --tags` to publish version 0.1.0

Installation

Prerequisites:

npm install --save-dev eslint eslint-config-template

Dependency Status devDependency Status peerDependency Status

Usage

Add this to your .eslintrc.json:

{
  "extends": ["template"]
}

Contributing

Please read guidelines for contributing.

License

License

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