Skip to content

Commit

Permalink
is-shallow-equal: Use ES5 ruleset from eslint-plugin module (#13428)
Browse files Browse the repository at this point in the history
  • Loading branch information
aduth authored and youknowriad committed Mar 6, 2019
1 parent 85d941a commit 30950de
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 2 deletions.
6 changes: 4 additions & 2 deletions packages/is-shallow-equal/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
{
"rules": {
"no-var": 0
"root": true,
"extends": "plugin:@wordpress/eslint-plugin/es5",
"env": {
"node": true
}
}
4 changes: 4 additions & 0 deletions packages/is-shallow-equal/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@

- Type-specific variants are now exposed from the module root. In a WordPress context, this has the effect of making them available as `wp.isShallowEqual.isShallowEqualObjects` and `wp.isShallowEqual.isShallowEqualArrays`.

### Internal

- Development source code linting extends the `@wordpress/eslint-plugin/es5` ruleset.

## 1.1.0 (2018-07-12)

### New Feature
Expand Down
4 changes: 4 additions & 0 deletions packages/is-shallow-equal/benchmark/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"root": true,
"extends": "../../../.eslintrc.js"
}
4 changes: 4 additions & 0 deletions packages/is-shallow-equal/test/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"root": true,
"extends": "../../../.eslintrc.js"
}

0 comments on commit 30950de

Please sign in to comment.