Skip to content
This repository has been archived by the owner on Aug 18, 2020. It is now read-only.

Commit

Permalink
Misc dependency updates
Browse files Browse the repository at this point in the history
  • Loading branch information
Matt Seccafien committed Apr 19, 2019
1 parent e65edcc commit 42ad408
Show file tree
Hide file tree
Showing 5 changed files with 334 additions and 851 deletions.
4 changes: 3 additions & 1 deletion CHANGELOG.md
Expand Up @@ -4,10 +4,12 @@

### Fixed

* `shopify/estrict-full-import` "empty" array pattern (eg: `const [, bar] = foo` errors ([#238](https://github.com/Shopify/eslint-plugin-shopify/pull/238))
* `shopify/restrict-full-import` "empty" array pattern (eg: `const [, bar] = foo` errors ([#243](https://github.com/Shopify/eslint-plugin-shopify/pull/243))

### Added

* updated `eslint-plugin-import` to version `22.4.1` which introduces the [`no-unused-modules`](https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/no-unused-modules.md) rule.
* updated `eslint-plugin-jest` to version `22.4.1` which introduces them[`no-empty-title`](https://github.com/jest-community/eslint-plugin-jest/commit/c793b7a) rule.
* `shopify/react-hooks-strict-return` Restrict the number of returned items from React hooks. ([#237](https://github.com/Shopify/eslint-plugin-shopify/pull/237))

### Removed
Expand Down
2 changes: 2 additions & 0 deletions lib/config/rules/import.js
Expand Up @@ -31,6 +31,8 @@ module.exports = {
'import/no-useless-path-segments': 'error',
// Forbid importing modules from parent directories
'import/no-relative-parent-imports': 'off',
// Ensures that modules contain exports and/or all modules are consumed within other modules
'no-unused-modules': 'error',

// Helpful warnings

Expand Down
2 changes: 2 additions & 0 deletions lib/config/rules/jest.js
Expand Up @@ -59,4 +59,6 @@ module.exports = {
'jest/prefer-todo': 'error',
// Require that toThrow() and toThrowError includes a message
'jest/require-tothrow-message': 'error',
// Disallow empty titles
'jest/no-empty-title': 'error',
};
37 changes: 19 additions & 18 deletions package.json
Expand Up @@ -50,49 +50,50 @@
]
},
"devDependencies": {
"@babel/core": "^7.3.4",
"@babel/register": "^7.0.0",
"babel-preset-shopify": "^17.0.1",
"@babel/core": "^7.4.3",
"@babel/register": "7.4.0",
"@babel/runtime-corejs2": "^7.4.3",
"babel-preset-shopify": "^18.0.0",
"chai": "^4.2.0",
"eslint": "^5.15.1",
"eslint": "^5.16.0",
"eslint-find-rules": "^3.3.1",
"eslint-index": "^1.5.0",
"eslint-plugin-self": "^1.2.0",
"graphql": "^14.1.1",
"graphql": "^14.2.1",
"istanbul": "^0.4.5",
"mocha": "^6.0.2",
"prettier": "^1.16.4",
"react": "^16.8.4",
"react-dom": "^16.8.4",
"typescript": "^3.3.3333"
"mocha": "^6.1.3",
"prettier": "^1.17.0",
"react": "^16.8.6",
"react-dom": "^16.8.6",
"typescript": "^3.4.3"
},
"peerDependencies": {
"eslint": "<6 >5.0.0",
"prettier": "^1.14.0"
},
"dependencies": {
"@typescript-eslint/eslint-plugin": "^1.5.0",
"@typescript-eslint/parser": "^1.5.0",
"@typescript-eslint/eslint-plugin": "^1.6.0",
"@typescript-eslint/parser": "^1.6.0",
"babel-eslint": "10.0.1",
"common-tags": "^1.8.0",
"eslint-config-prettier": "4.1.0",
"eslint-import-resolver-typescript": "^1.1.1",
"eslint-module-utils": "2.3.0",
"eslint-module-utils": "2.4.0",
"eslint-plugin-babel": "5.3.0",
"eslint-plugin-eslint-comments": "3.1.1",
"eslint-plugin-graphql": "3.0.3",
"eslint-plugin-import": "2.16.0",
"eslint-plugin-jest": "22.3.0",
"eslint-plugin-import": "2.17.2",
"eslint-plugin-jest": "22.4.1",
"eslint-plugin-jsx-a11y": "6.2.1",
"eslint-plugin-node": "8.0.1",
"eslint-plugin-prettier": "3.0.1",
"eslint-plugin-promise": "4.0.1",
"eslint-plugin-promise": "4.1.1",
"eslint-plugin-react": "7.12.4",
"eslint-plugin-react-hooks": "^1.5.0",
"eslint-plugin-react-hooks": "^1.6.0",
"eslint-plugin-sort-class-members": "1.4.0",
"merge": "1.2.1",
"pascal-case": "^2.0.1",
"pkg-dir": "3.0.0",
"pkg-dir": "4.1.0",
"pluralize": "^7.0.0"
}
}

0 comments on commit 42ad408

Please sign in to comment.