.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:
parent
a7b89f0c48
commit
0c1f8d0357
1 changed files with 2 additions and 2 deletions
|
|
@ -43,7 +43,7 @@
|
||||||
"standard/no-callback-literal": "off"
|
"standard/no-callback-literal": "off"
|
||||||
},
|
},
|
||||||
"globals": {
|
"globals": {
|
||||||
"require": false,
|
"require": "readonly",
|
||||||
"module": false
|
"module": "readonly"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue