eslint-config-sparkbox
Advanced tools
Comparing version 0.5.6 to 1.0.0
{ | ||
"name": "eslint-config-sparkbox", | ||
"version": "0.5.6", | ||
"version": "1.0.0", | ||
"description": "A set of eslint customizations that we use at Sparkbox.", | ||
@@ -27,10 +27,10 @@ "main": "index.js", | ||
"devDependencies": { | ||
"babel-eslint": "^7.1.1", | ||
"eslint": "^5.13.0", | ||
"eslint-config-airbnb": "^17.1.0", | ||
"eslint-plugin-flowtype": "^2.20.0", | ||
"eslint-plugin-import": "^2.0.1", | ||
"eslint-plugin-jsx-a11y": "^6.2.1", | ||
"eslint-plugin-react": "^7.12.4", | ||
"mocha": "^5.2.0", | ||
"babel-eslint": "^10.0.3", | ||
"eslint": "^6.8.0", | ||
"eslint-config-airbnb": "18.0.1", | ||
"eslint-plugin-flowtype": "4.6.0", | ||
"eslint-plugin-import": "2.20.0", | ||
"eslint-plugin-jsx-a11y": "6.2.3", | ||
"eslint-plugin-react": "7.17.0", | ||
"mocha": "^7.0.0", | ||
"react": "^16.8.2" | ||
@@ -40,3 +40,6 @@ }, | ||
"eslint": ">= 3" | ||
}, | ||
"resolutions": { | ||
"lodash": "^4.17.13" | ||
} | ||
} |
# eslint-config-sparkbox | ||
[](https://circleci.com/gh/sparkbox/eslint-config-sparkbox/tree/master) | ||
A set of eslint customizations that we use at Sparkbox. This config extends the [Airbnb config] and includes rule support for: | ||
* [React](https://github.com/yannickcr/eslint-plugin-react) | ||
* [Flowtype](https://github.com/gajus/eslint-plugin-flowtype) | ||
* [JSX a11y](https://github.com/evcohen/eslint-plugin-jsx-a11y) | ||
* [ES6+ imports](https://github.com/benmosher/eslint-plugin-import) | ||
## Usage | ||
`eslint-config-sparkbox` is designed as an [ESLint Sharable Config] | ||
`npm install --save-dev eslint-config-sparkbox` or `yarn add eslint-config-sparkbox` | ||
Use [extends syntax] in your `.eslintrc` file: | ||
``` | ||
{ | ||
"extends": ["sparkbox"] | ||
} | ||
``` | ||
**Install necessary plugins** | ||
`npm i eslint eslint-config-airbnb eslint-plugin-jsx-a11y eslint-plugin-react eslint-plugin-import eslint-plugin-flowtype babel-eslint --save-dev` | ||
_Note:_ Depending on your editor setup you may need [eslint-cli](https://github.com/eslint/eslint-cli) installed globally via `npm i eslint-cli -g`.. | ||
[ESLint Sharable Config]: http://eslint.org/docs/developer-guide/shareable-configs | ||
[extends syntax]: http://eslint.org/docs/developer-guide/shareable-configs#using-a-shareable-config | ||
[Airbnb config]: https://github.com/airbnb/javascript | ||
## Deprecation warning | ||
This package has been deprecated. Please migrate to the '@sparkbox/eslint-config-sparkbox' package. |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
0
5160
7
5
1