Skip to content
This repository has been archived by the owner on May 17, 2019. It is now read-only.

Commit

Permalink
Add jest support, since Fusion.js uses it (#88)
Browse files Browse the repository at this point in the history
  • Loading branch information
lhorie committed Jul 26, 2018
1 parent b14932b commit cb2bb24
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
1 change: 1 addition & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ module.exports = {
extends: [
'plugin:flowtype/recommended',
'plugin:react/recommended',
'plugin:jest/recommended',
'./rules/imports.js',
// This comes last so that prettier-config can turn off appropriate rules given the order of precedence by eslint 'extends'
require.resolve('eslint-config-uber-universal-stage-3'),
Expand Down
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,16 @@
"peerDependencies": {
"eslint-plugin-flowtype": "^2.36.0",
"eslint-plugin-import": "^2.8.0",
"eslint-plugin-react": "^7.4.0"
"eslint-plugin-react": "^7.4.0",
"eslint-plugin-jest": "^21.18.0"
},
"devDependencies": {
"babel-eslint": "8.2.5",
"eslint": "5.0.1",
"eslint-plugin-cup": "2.0.0",
"eslint-plugin-flowtype": "2.49.3",
"eslint-plugin-import": "2.13.0",
"eslint-plugin-jest": "^21.18.0",
"eslint-plugin-prettier": "2.6.2",
"eslint-plugin-react": "7.10.0",
"flow-bin": "0.75.0",
Expand Down
4 changes: 4 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -418,6 +418,10 @@ eslint-plugin-import@2.13.0:
read-pkg-up "^2.0.0"
resolve "^1.6.0"

eslint-plugin-jest@^21.18.0:
version "21.18.0"
resolved "https://registry.yarnpkg.com/eslint-plugin-jest/-/eslint-plugin-jest-21.18.0.tgz#d7305969a9c1902f895468791d968fcf08b5c0b7"

eslint-plugin-prettier@2.6.2:
version "2.6.2"
resolved "https://registry.yarnpkg.com/eslint-plugin-prettier/-/eslint-plugin-prettier-2.6.2.tgz#71998c60aedfa2141f7bfcbf9d1c459bf98b4fad"
Expand Down

0 comments on commit cb2bb24

Please sign in to comment.