eslint-config-isomorphic

1.12.0 • Public • Published

eslint-config-isomorphic travis npm downloads

An ESLint Shareable Config for JavaScript Isomorphic Apps

Install

This module is for advanced users.

npm install eslint-config-isomorphic

Usage

Shareable configs are designed to work with the extends feature of .eslintrc files. You can learn more about Shareable Configs on the official ESLint website.

To use the JavaScript Standard Style shareable config, first run this:

yarn add --dev eslint-config-isomorphic eslint babel-eslint eslint-import-resolver-webpack eslint-plugin-angular eslint-plugin-import eslint-plugin-node eslint-plugin-promise eslint-plugin-react eslint-plugin-standard

Then, add this to your .eslintrc file:

For React:

{
  "extends": "isomorphic/react"
}

For Angular:

{
  "extends": "isomorphic/angular"
}

For Node:

{
  "extends": "isomorphic/node"
}

Note: We omitted the eslint-config- prefix since it is automatically assumed by ESLint.

You can override settings from the shareable config by adding them directly into your .eslintrc file.

Package Sidebar

Install

npm i eslint-config-isomorphic

Weekly Downloads

4

Version

1.12.0

License

MIT

Last publish

Collaborators

  • ct-deploy