Skip to content

Commit

Permalink
.eslintrc.json: boolean values are deprecated for globals
Browse files Browse the repository at this point in the history
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
  • Loading branch information
jelly authored and martinpitt committed May 21, 2024
1 parent 0d887db commit b06cd1d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
"react/jsx-no-bind": "off"
},
"globals": {
"require": false,
"module": false
"require": "readonly",
"module": "readonly"
}
}

0 comments on commit b06cd1d

Please sign in to comment.