2.1.2 • Published 6 years ago

eslint-config-spec v2.1.2

Weekly downloads
25
License
-
Repository
github
Last release
6 years ago

eslint-config-spec

Provides a set of ESLint rules and plugins to be shared by @spec/cli projects.

Usage

Our default export contains all of our ESLint rules, including ECMAScript ES2015+ and React. It requires eslint, eslint-plugin-import, eslint-plugin-react, and eslint-plugin-jsx-a11y. By default, you can add this package to your project by running the following command:

npm i eslint-config-spec --save-dev

You can install the correct versions of each peer Dependency by running the following command:

npm info "eslint-config-spec@latest" peerDependencies

This typically gives you an output like:

{ eslint: '^3.19.0', 'eslint-plugin-import': '^2.2.0', 'eslint-plugin-jsx-a11y': '^4.0.0', 'eslint-plugin-react', '^6.10.3' }

Which you can then use like:

npm i eslint@^3.19.0 eslint-plugin-import@^2.2.0 eslint-plugin-jsx-a11y@^4.0.0 eslint-plugin-react@^6.10.3 --save-dev

Finally, just add "extends": "spec" to your .eslintrc.

2.1.2

6 years ago

2.1.1

6 years ago

2.1.0

6 years ago

2.1.0-1

6 years ago

2.1.0-0

6 years ago

2.0.0

6 years ago

1.3.1

6 years ago

1.3.0

6 years ago