Skip to content

Commit

Permalink
Merge pull request #1695 from Shopify/update-no-unsafe
Browse files Browse the repository at this point in the history
[v4] Update no unsafe eslint rule
  • Loading branch information
AndrewMusgrave committed Jun 18, 2019
2 parents a45533a + 39e24f8 commit ca2cfa3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions .eslintrc
Expand Up @@ -33,6 +33,7 @@
"react/button-has-type": "off",
"react/no-array-index-key": "off",
"react/jsx-fragments": ["error", "element"],
"react/no-unsafe": ["error", {"checkAliases": true}],
"shopify/jsx-no-complex-expressions": "off",
"shopify/jsx-prefer-fragment-wrappers": "off",
"shopify/no-ancestor-directory-import": "error",
Expand Down
1 change: 1 addition & 0 deletions UNRELEASED-V4.md
Expand Up @@ -44,6 +44,7 @@ Use [the changelog guidelines](https://git.io/polaris-changelog-guidelines) to f

### Code quality

- Enabled react/no-unsafe with checkAliases ([#1695](https://github.com/Shopify/polaris-react/pull/1695))
- Added hooks to storybooks scope ([#1672](https://github.com/Shopify/polaris-react/pull/1672))
- Simplified `WithinContentContainer` context type ([#1602](https://github.com/Shopify/polaris-react/pull/1602))
- Updated `Collapsible` to no longer use `componentWillReceiveProps`([#1670](https://github.com/Shopify/polaris-react/pull/1670))
Expand Down

0 comments on commit ca2cfa3

Please sign in to comment.