Skip to content

Commit e28e18e

Browse files
committed
Add note about globals in README and remove impliedStrict from flat configs
1 parent 6692cd5 commit e28e18e

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,8 @@ export default [
116116
];
117117
```
118118

119+
These configurations do not configure global variables in ESLint. You can do this yourself manually or with a package like [globals](https://www.npmjs.com/package/globals) by creating a configuration with a `languageOptions.globals` object. We recommend setting up global variables for Browser APIs as well as at least ES2015.
120+
119121
Note for VSCode Extension: Enable the "Use Flat Config" setting for your workspace to enable Flat Config support.
120122

121123
## Rules

src/configs/recommended.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ const recommended = {
1010
parserOptions: {
1111
ecmaFeatures: {
1212
jsx: true,
13-
impliedStrict: true,
1413
},
1514
},
1615
},

src/configs/typescript.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ const typescript = {
1111
parserOptions: {
1212
ecmaFeatures: {
1313
jsx: true,
14-
impliedStrict: true,
1514
},
1615
},
1716
},

0 commit comments

Comments
 (0)