My eslint config.
JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
test
.babelrc
.editorconfig
.gitignore
.travis.yml
LICENSE
README.md
base.js
index.js
no-babel.js
package.json

README.md

@lukekarrys/eslint-config

NPM Build Status

This is my eslint config.

Use it if you want to write code exactly like me. It's probably not that useful to you though.

I'll probably change stuff quite a bit and just bump the patch version, and leave major versions for when I don't want to update existing projects to lint against the latest config.

Things it does

  • babel-eslint (or just ES6 for node stuff)
  • react
  • Some stuff copied from standard
  • Some stuff copied from the old 0.x.y eslint defaults

Usage

npm install @lukekarrys/eslint-config eslint-plugin-import --save-dev
# If the project does babel/react stuff
npm install babel-eslint eslint eslint-plugin-react eslint-plugin-classes --save-dev
echo '{\n  "extends": "@lukekarrys/eslint-config"\n}' > .eslintrc
# or if its not using babel
echo '{\n  "extends": "@lukekarrys/eslint-config/no-babel"\n}' > .eslintrc

License

MIT