Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

eslint-config-not-an-aardvark

not-an-aardvark23.1kMIT2.1.0

not-an-aardvark's shareable ESLint config

eslint, eslintconfig

readme

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.

changelog

Changelog

v2.1.0 (2017-07-06)

  • Update: disable max-len (#5) (aea6fa5)
  • Chore: update build script to use process.cwd() (c4518a7)
  • Upgrade: update eslint-plugin-node to version 4.0.1 (#2) (ebfa673)

v2.0.0 (2016-12-13)

  • Breaking: enable object-curly-spacing: always (e9d6589)
  • Breaking: enable comma-dangle: always-multiline (aaede69)
  • Chore: add an npm script to run the linter (763fe8b)
  • Chore: lint all the files in the package (77a9a42)
  • Docs: document the node-specific config (daf8770)

v1.1.0 (2016-11-17)

  • Update: move files out of the lib/ folder for easier require() access (2c97ed5)
  • Fix: ensure node config is included in build (f52492b)
  • New: add node-specific config (6e9948c)
  • Build: Prevent greenkeeper's PRs from failing commit message check (1b05fa2)
  • Chore: name functions consistently in build script (2fde01b)
  • Build: clear out node_modules before running the build script (888cf83)
  • Build: Throw an error in the build script if there are no new commits (f0622a8)
  • Chore: only validate the length of the first line of the commit message (88191f7)
  • Fix: don't remove trailing newline from package.json in the build script (151aefd)
  • Build: create a script to automate releases (d2d6619)
  • Chore: ensure files in tests/ are linted (25838eb)
  • Fix: ensure the files in lib/ are published (5c82c2d)
  • Chore: move lib files out of root directory (6f483a9)
  • Chore: add tests for commit messages (c7f43c5)
  • Chore: separate build tests into a different file (306dd55)

v1.0.1 (2016-11-02)

  • Chore: add eslint-plugin-node internally
  • Fix: nonexistent "main" entry in package.json

v1.0.0 (2016-11-02)

  • New: Initial commit