eslint-config-jupl

0.6.5 • Public • Published

eslint-config

NPM License Dev Dependencies Travis

Personal ESLint and tslint configuration.

Usage

ESLint

Add to package.json:

{
  "eslintConfig": {
    "extends": ["jupl", "jupl/esnext"]
  }
}

Or to .eslintrc:

{
  "extends": ["jupl", "jupl/esnext"]
}

If targeting older node.js (< 1.0):

{
  "extends": "jupl"
}

If targeting the browser:

{
  "extends": ["jupl", "jupl/browser"]
}

If using Babel (requires eslint-plugin-babel and babel-eslint):

{
  "extends": ["jupl", "jupl/esnext", "jupl/babel"]
}

If using React (requires eslint-plugin-react):

{
  "extends": ["jupl", "jupl/react"]
}

TSLint

Add to tslint.json:

{
  "extends": "eslint-config-jupl/ts"
}

If using React (requires tslint-react):

{
  "extends": [
    "eslint-config-jupl/ts",
    "eslint-config-jupl/ts/react"
  ]
}

Package Sidebar

Install

npm i eslint-config-jupl

Weekly Downloads

3

Version

0.6.5

License

MIT

Last publish

Collaborators

  • jupl