Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/miluoshi/eslint-windows-glob-repro
https://github.com/miluoshi/eslint-windows-glob-repro
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/miluoshi/eslint-windows-glob-repro
- Owner: miluoshi
- Created: 2021-03-15T09:00:15.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2021-03-15T09:06:03.000Z (almost 4 years ago)
- Last Synced: 2024-10-14T16:34:29.636Z (3 months ago)
- Language: JavaScript
- Size: 16.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Install
```
npm i
```## Repro
1. Run
```
npx eslint src
```
Should throw 3 errors.2. Comment out parserOptions.project property in `.eslintrc.js` file and run the eslint command again.
Should throw error:
```
Error while loading rule '@typescript-eslint/dot-notation': You have used a rule which requires parserServices to be generated.
You must therefore provide a value for the "parserOptions.project" property for @typescript-eslint/parser.
```