Skip to content

Commit 05abda5

Browse files
committed
chore: update default export name
1 parent 1cde63d commit 05abda5

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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

1010
export default [
1111
// ...
12-
eslintPluginReactQueryOptions.configs.recommended,
12+
reactQueryOptions.configs.recommended,
1313
];
1414
```
1515

src/index.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import requireQueryOptions from "./rules/require-query-options.js";
22
import 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;

0 commit comments

Comments
 (0)