Skip to content

Commit

Permalink
fix rule location
Browse files Browse the repository at this point in the history
  • Loading branch information
grahamlangford committed Nov 8, 2024
1 parent abe7929 commit e78a397
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 0 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,6 @@ const config = {
"@shopify/react-hooks-strict-return": "error",
"@shopify/prefer-module-scope-constants": "error",

"jest/expect-expect": "error",

"no-restricted-imports": ["error", require("./no-restricted-imports")],
"no-restricted-syntax": ["error", ...require("./no-restricted-syntax")],
"no-mixed-operators": [
Expand Down
2 changes: 2 additions & 0 deletions tests.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ module.exports = {
rules: {
// Enable more testing rules
"jest/prefer-expect-resolves": "error",
"jest/expect-expect": "error",

"@shopify/jest-no-snapshots": "warn",

// Loosen types a bit to facilitate testing
Expand Down

0 comments on commit e78a397

Please sign in to comment.