File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -5,11 +5,11 @@ Eslint plugin for tanstack query to enforce using the `queryOptions` api inspire
55## Usage
66
77``` js
8- import eslintPluginReactQueryOptions from " eslint-plugin-react-query-options" ;
8+ import reactQueryOptions from " eslint-plugin-react-query-options" ;
99
1010export default [
1111 // ...
12- eslintPluginReactQueryOptions .configs .recommended ,
12+ reactQueryOptions .configs .recommended ,
1313];
1414```
1515
Original file line number Diff line number Diff line change 11import requireQueryOptions from "./rules/require-query-options.js" ;
22import pkg from "../package.json" with { type : "json" } ;
33
4- const eslintPluginReactQueryOptions = {
4+ const reactQueryOptions = {
55 meta : {
66 name : pkg . name ,
77 version : pkg . version ,
@@ -19,7 +19,7 @@ const configs = {
1919 recommended : [
2020 {
2121 plugins : {
22- "react-query-options" : eslintPluginReactQueryOptions ,
22+ "react-query-options" : reactQueryOptions ,
2323 } ,
2424 rules : {
2525 "react-query-options/require-query-options" : "error" ,
@@ -28,4 +28,4 @@ const configs = {
2828 ] ,
2929} ;
3030
31- export default eslintPluginReactQueryOptions ;
31+ export default reactQueryOptions ;
You can’t perform that action at this time.
0 commit comments