Skip to content

Commit

Permalink
chore: update lint-staged
Browse files Browse the repository at this point in the history
  • Loading branch information
hyperse-net committed Jun 7, 2024
1 parent 7286128 commit b33e4ee
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion lint-staged.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const rules = {
cache: true,
// when autofixing staged-files a good tip is to disable react-hooks/exhaustive-deps, cause
// a change here can potentially break things without proper visibility.
rules: ['react-hooks/exhaustive-deps: off'],
rules: [],
maxWarnings: 25,
files: filenames,
});
Expand Down
2 changes: 1 addition & 1 deletion packages/next-auth/lint-staged.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const rules = {
cache: true,
// when autofixing staged-files a good tip is to disable react-hooks/exhaustive-deps, cause
// a change here can potentially break things without proper visibility.
rules: ['react-hooks/exhaustive-deps: off'],
rules: [],
maxWarnings: 25,
files: filenames,
});
Expand Down
2 changes: 1 addition & 1 deletion packages/next-core/lint-staged.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const rules = {
cache: true,
// when autofixing staged-files a good tip is to disable react-hooks/exhaustive-deps, cause
// a change here can potentially break things without proper visibility.
rules: ['react-hooks/exhaustive-deps: off'],
rules: [],
maxWarnings: 25,
files: filenames,
});
Expand Down
2 changes: 1 addition & 1 deletion packages/next-demo/lint-staged.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const rules = {
cache: true,
// when autofixing staged-files a good tip is to disable react-hooks/exhaustive-deps, cause
// a change here can potentially break things without proper visibility.
rules: ['react-hooks/exhaustive-deps: off'],
rules: [],
maxWarnings: 25,
files: filenames,
});
Expand Down
2 changes: 1 addition & 1 deletion packages/next-env/lint-staged.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const rules = {
cache: true,
// when autofixing staged-files a good tip is to disable react-hooks/exhaustive-deps, cause
// a change here can potentially break things without proper visibility.
rules: ['react-hooks/exhaustive-deps: off'],
rules: [],
maxWarnings: 25,
files: filenames,
});
Expand Down
2 changes: 1 addition & 1 deletion packages/next-graphql/lint-staged.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const rules = {
cache: true,
// when autofixing staged-files a good tip is to disable react-hooks/exhaustive-deps, cause
// a change here can potentially break things without proper visibility.
rules: ['react-hooks/exhaustive-deps: off'],
rules: [],
maxWarnings: 25,
files: filenames,
});
Expand Down
2 changes: 1 addition & 1 deletion packages/next-prisma/lint-staged.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const rules = {
cache: true,
// when autofixing staged-files a good tip is to disable react-hooks/exhaustive-deps, cause
// a change here can potentially break things without proper visibility.
rules: ['react-hooks/exhaustive-deps: off'],
rules: [],
maxWarnings: 25,
files: filenames,
});
Expand Down

0 comments on commit b33e4ee

Please sign in to comment.