You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/src/use/getting-started.md
+11-11Lines changed: 11 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -72,18 +72,18 @@ The `pluginJs.configs.recommended` object contains configuration to ensure that
72
72
You can configure rules individually by defining a new object with a `rules` key, as in this example:
73
73
74
74
```js
75
-
importpluginJsfrom"@eslint/js";
76
-
77
-
exportdefault [
78
-
pluginJs.configs.recommended,
75
+
importpluginJsfrom"@eslint/js";
79
76
80
-
{
81
-
rules: {
82
-
"no-unused-vars":"warn",
83
-
"no-undef":"warn"
84
-
}
85
-
}
86
-
];
77
+
exportdefault [
78
+
pluginJs.configs.recommended,
79
+
80
+
{
81
+
rules: {
82
+
"no-unused-vars":"warn",
83
+
"no-undef":"warn"
84
+
}
85
+
}
86
+
];
87
87
```
88
88
89
89
The names `"no-unused-vars"` and `"no-undef"` are the names of [rules](../rules) in ESLint. The first value is the error level of the rule and can be one of these values:
0 commit comments