eslint-config-geekjuice

2.6.0 • Public • Published

eslint-config-geekjuice

npm version Build Status

Personal ESLint configurations

Install

$ npm install --save-dev eslint eslint-config-geekjuice eslint-plugin-import

For the react version you'll also need the react plugin:

$ npm install --save-dev eslint-plugin-react

For the esnext versions you'll also need Babel's ESLint parser:

$ npm install --save-dev babel-eslint

This will let you use ES2016 features like async/await and decorators. For a full list of features see Babel's experimental features and their Learn ES2015.

Usage

Add some ESLint config to your package.json:

{
  "name": "my-awesome-project",
  "eslintConfig": {
    "extends": "geekjuice"
  }
}

Or to .eslintrc*:

{
  "extends": "geekjuice"
}

Configurations

geekjuice/base

Base configurations without ES2015

geekjuice(/server)?(/esnext)?

Node configurations with ES2015 or ES2015+

geekjuice/server/react(/esnext)?

Node configurations with React and ES2015 or ES2015+

geekjuice/browser(/esnext)?

Browser configurations with ES2015 or ES2015+

geekjuice/browser/react(/esnext)?

Browser configurations with React and ES2015 or ES2015+

License

MIT © Nicholas Hwang

Package Sidebar

Install

npm i eslint-config-geekjuice

Weekly Downloads

1

Version

2.6.0

License

MIT

Last publish

Collaborators

  • geekjuice