Skip to content

Commit bfcc50f

Browse files
committed
chore: replace js with pluginJs
Replaced all instance of js to pluginJs in the config.
1 parent 212d373 commit bfcc50f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/src/use/getting-started.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ export default [
6767
];
6868
```
6969

70-
The `js.configs.recommended` object contains configuration to ensure that all of the rules marked as recommended on the [rules page](../rules) will be turned on. Alternatively, you can use configurations that others have created by searching for "eslint-config" on [npmjs.com](https://www.npmjs.com/search?q=eslint-config). ESLint will not lint your code unless you extend from a shared configuration or explicitly turn rules on in your configuration.
70+
The `pluginJs.configs.recommended` object contains configuration to ensure that all of the rules marked as recommended on the [rules page](../rules) will be turned on. Alternatively, you can use configurations that others have created by searching for "eslint-config" on [npmjs.com](https://www.npmjs.com/search?q=eslint-config). ESLint will not lint your code unless you extend from a shared configuration or explicitly turn rules on in your configuration.
7171

7272
## Global Install
7373

@@ -97,10 +97,10 @@ Before you begin, you must already have a `package.json` file. If you don't, mak
9797
1. Add configuration to the `eslint.config.js` file. Refer to the [Configure ESLint documentation](configure/) to learn how to add rules, custom configurations, plugins, and more.
9898

9999
```js
100-
import js from "@eslint/js";
100+
import pluginJs from "@eslint/js";
101101

102102
export default [
103-
js.configs.recommended,
103+
pluginJs.configs.recommended,
104104

105105
{
106106
rules: {

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy