Skip to content

Commit 735b983

Browse files
authored
docs: Remove mention of sourceType in the recommended config (#515)
The recommended configuration doesn't set `sourceType` to `script` anymore. See #514
1 parent ba1217b commit 735b983

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,11 @@ npm install eslint-plugin-eslint-plugin --save-dev
3939

4040
Here's an example ESLint configuration that:
4141

42-
- Sets `sourceType` to `script` for CJS plugins (most users) (use `module` for ESM/TypeScript)
4342
- Enables the `recommended` configuration
4443
- Enables an optional/non-recommended rule
4544

45+
Note: you might need to set `sourceType` to `script` (most users) (use `module` for ESM/TypeScript).
46+
4647
### <a name='eslintrc'></a>**[.eslintrc.json](https://eslint.org/docs/latest/use/configure/configuration-files)**
4748

4849
```json

0 commit comments

Comments
 (0)