Skip to content

Commit f684eeb

Browse files
Atualize a dependência @types/eslint
Adicione a versão mais recente da dependência @types/eslint ao arquivo package.json e ao pnpm-lock.yaml. Isso garante que os tipos do ESLint estejam atualizados, melhorando a verificação de tipo no projeto. Além disso, documente a configuração do ESLint no arquivo base.js.
1 parent 5320474 commit f684eeb

File tree

3 files changed

+15
-11
lines changed

3 files changed

+15
-11
lines changed

base.js

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
/**
2+
* @type{import('@types/eslint').ESLint.ConfigData}
3+
* */
14
module.exports = {
25
env: {
36
browser: true,

package.json

+1
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@
3535
"url": "https://github.com/cod3rocket/eslint-config-cod3rocket/issues"
3636
},
3737
"devDependencies": {
38+
"@types/eslint": "^8.56.12",
3839
"@types/node": "^22.13.10",
3940
"@typescript-eslint/eslint-plugin": "^8.26.1",
4041
"@typescript-eslint/parser": "^8.26.1",

pnpm-lock.yaml

+11-11
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)