.eslintrc.json: boolean values are deprecated for globals

As per ESLint docs these options still allow boolean values but in
reality they are deprecated and replaced by "readonly". Oxlint currently
cannot deal with this and therefore cannot parse the eslint
configuration file.

https://eslint.org/docs/latest/use/configure/language-options#using-configuration-files
This commit is contained in:
Jelle van der Waa 2024-05-19 13:34:11 +02:00 committed by Martin Pitt
parent a7b89f0c48
commit 0c1f8d0357

View file

@ -43,7 +43,7 @@
"standard/no-callback-literal": "off"
},
"globals": {
"require": false,
"module": false
"require": "readonly",
"module": "readonly"
}
}