Skip to content
This repository was archived by the owner on May 1, 2025. It is now read-only.

Commit adb677d

Browse files
fix rule override
1 parent fdf9ad9 commit adb677d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
/** @file These additional rules are meant for tests in order to make it stricter as well as simplify it */
22

3-
const a11yRules = Object.keys(
4-
require("eslint-plugin-jsx-a11y").rules
5-
).map((rule) => [`jsx-a11y/${rule}`, "off"]);
3+
const a11yRules = Object.keys(require("eslint-plugin-jsx-a11y").rules).map(
4+
(rule) => [`jsx-a11y/${rule}`, "off"],
5+
);
66

77
module.exports = {
88
env: {
@@ -18,7 +18,7 @@ module.exports = {
1818
rules: {
1919
// Enable more testing rules
2020
"jest/prefer-expect-resolves": "error",
21-
"@shopify/jest/no-snapshots": "warn",
21+
"@shopify/jest-no-snapshots": "warn",
2222

2323
// Loosen types a bit to facilitate testing
2424
"@typescript-eslint/no-explicit-any": "off",

0 commit comments

Comments
 (0)