包详细信息

eslint-config-not-an-aardvark

not-an-aardvark34kMIT2.1.0

not-an-aardvark's shareable ESLint config

eslint, eslintconfig

自述文件

eslint-config-not-an-aardvark Build Status

This is a shareable ESLint config for my personal JavaScript code style preferences.

Installation

npm install eslint eslint-config-not-an-aardvark --save-dev

Requirements

  • Node.js 4+
  • ESLint 3.9.1+

Usage

Add the following to your .eslintrc.json file:

{
  "extends": ["not-an-aardvark"]
}

For Node.js projects:

{
  "extends": ["not-an-aardvark/node"]
}

For projects that don't use ES2015:

{
  "extends": ["not-an-aardvark/es5"]
}

Development

To install:

git clone https://github.com/not-an-aardvark/eslint-config.git
cd eslint-config/
npm install

To run the tests:

npm test

Contributing

See CONTRIBUTING.md.

License

This project is freely distributable under the MIT License.