developit / developit/eslint-config-developit

Update `babel-eslint`

Aperta
#4 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
JavaScript
Stelle
21
Fork
2
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

`babel-eslint` is deprecated and it should be replaced with `@babel/eslint-parser`.

## Steps to reproduce

1. `yarn init -y`
2. `yarn set version berry`
3. `yarn add eslint-config-developit`
4. See logs:
```console
➤ YN0000: ┌ Resolution step
➤ YN0061: │ babel-eslint@npm:10.1.0 is deprecated: babel-eslint is now @babel/eslint-parser. This package will no longer receive updates.
➤ YN0002: │ test-babel-eslint@workspace:. doesn't provide eslint (p894aa), requested by eslint-config-developit
➤ YN0000: │ Some peer dependencies are incorrectly met; run yarn explain peer-requirements for details, where is the six-letter p-prefixed code
➤ YN0000: └ Completed
➤ YN0000: ┌ Fetch step
➤ YN0013: │ unbox-primitive@npm:1.0.1 can't be found in the cache and will be fetched from the remote regist
➤ YN0013: │ which-boxed-primitive@npm:1.0.2 can't be found in the cache and will be fetched from the remote
➤ YN0013: │ wrappy@npm:1.0.2 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ yallist@npm:4.0.0 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ yocto-queue@npm:0.1.0 can't be found in the cache and will be fetched from the remote registry
➤ YN0000: └ Completed
➤ YN0000: ┌ Link step
➤ YN0007: │ core-js@npm:3.19.3 must be built because it never has been before or the last one failed
➤ YN0000: └ Completed
➤ YN0000: Done with warnings
```

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Direzione di ricerca

Inspect the repository's dependency and ESLint configuration files, then reproduce the issue with the listed Yarn Berry commands. Replace the deprecated package reference with @babel/eslint-parser and confirm that installing eslint-config-developit no longer reports the babel-eslint deprecation warning.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
eslint, javascript
Ambito
tooling
Tipo di issue
Refactoring
Difficoltà
2/5
Tempo stimato
1-3 ore
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
45/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.