Skip to content

Commit

Permalink
Merge pull request #32 from matrix-org/t3chguy/instanceofarray
Browse files Browse the repository at this point in the history
  • Loading branch information
t3chguy authored Nov 1, 2022
2 parents 43d7041 + 21ee9d2 commit e7ca166
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 2 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@ following depending on the configs you enable:
* eslint-plugin-react
* eslint-plugin-react-hooks
* eslint-plugin-import
* eslint-plugin-unicorn
* typescript

## Releasing
Expand Down
3 changes: 2 additions & 1 deletion javascript.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module.exports = {
plugins: ["import"],
plugins: ["import", "unicorn"],
extends: [
"eslint:recommended",
"google",
Expand Down Expand Up @@ -67,5 +67,6 @@ module.exports = {
},
],
"import/first": "error",
"unicorn/no-instanceof-array": "error",
},
}
17 changes: 16 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,20 @@
"bugs": {
"url": "https://github.com/matrix-org/eslint-config-matrix-org/issues"
},
"dependencies": {}
"peerDependencies": {
"@babel/core": "*",
"@babel/eslint-parser": "*",
"@babel/eslint-plugin": "*",
"@typescript-eslint/eslint-plugin": "*",
"@typescript-eslint/parser": "*",
"eslint": "*",
"eslint-config-google": "*",
"eslint-plugin-deprecate": "*",
"eslint-plugin-import": "*",
"eslint-plugin-jsx-a11y": "*",
"eslint-plugin-react": "*",
"eslint-plugin-react-hooks": "*",
"eslint-plugin-unicorn": "*",
"typescript": "*"
}
}

0 comments on commit e7ca166

Please sign in to comment.