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/getting-started/linting/README.md
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -25,7 +25,7 @@ module.exports = {
25
25
],
26
26
extends: [
27
27
'eslint:recommended',
28
-
'plugin:@typescript-eslint/recommended',
28
+
'plugin:@typescript-eslint/eslint-recommended',
29
29
],
30
30
};
31
31
```
@@ -41,7 +41,7 @@ Explaining the important bits:
41
41
- This allows you to use the rules within your codebase.
42
42
-`extends: [ ... ]` tells ESLint that your config extends the given configurations.
43
43
-`eslint:recommended` is ESLint's inbuilt "recommended" config - it turns on a small, sensible set of rules which lint for well-known best-practices.
44
-
-`plugin:@typescript-eslint/recommended` is our "recommended" config - it's just like `eslint:recommended`, except it only turns on rules from our TypeScript-specific plugin.
44
+
-`plugin:@typescript-eslint/eslint-recommended` is our "recommended" config - it's just like `eslint:recommended`, except it only turns on rules from our TypeScript-specific plugin.
45
45
46
46
Further reading:
47
47
@@ -109,7 +109,7 @@ To use one of these complete config packages, you would replace the `extends` wi
109
109
],
110
110
extends: [
111
111
- 'eslint:recommended',
112
-
- 'plugin:@typescript-eslint/recommended',
112
+
- 'plugin:@typescript-eslint/eslint-recommended',
113
113
+ 'airbnb-typescript',
114
114
],
115
115
};
@@ -132,7 +132,7 @@ Using this config is as simple as adding it to the end of your `extends`:
132
132
],
133
133
extends: [
134
134
'eslint:recommended',
135
-
'plugin:@typescript-eslint/recommended',
135
+
'plugin:@typescript-eslint/eslint-recommended',
136
136
+ 'prettier',
137
137
],
138
138
};
@@ -160,7 +160,7 @@ Every plugin that is out there includes documentation on the various rules they
0 commit comments