We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1c9b334 commit 731c1b4Copy full SHA for 731c1b4
README.md
@@ -20,12 +20,13 @@ Note that it requires ESlint v9 and above.
20
21
## Usage
22
23
-In your `.eslintrc` file, put `@oncehub/eslint-config` under `extends` array as shown below.
+Import the package inside of an eslint.config.js file and add it into the exported array, like this:
24
25
```js
26
-module.exports = {
27
- extends: ["@oncehub/eslint-config"],
28
-};
+// eslint.config.js
+import oncehub from "@oncehub/eslint-config";
+
29
+export default [...oncehub];
30
```
31
32
## Development
0 commit comments