mirror of
https://github.com/github/codeql-action.git
synced 2025-12-31 11:40:24 +08:00
9 lines
278 B
JavaScript
9 lines
278 B
JavaScript
module.exports = (context, badBrowser) => ({
|
|
OptionalMemberExpression(node) {
|
|
context.report(node, `Optional Chaining is not supported in ${badBrowser}`)
|
|
},
|
|
ChainExpression(node) {
|
|
context.report(node, `Optional Chaining is not supported in ${badBrowser}`)
|
|
}
|
|
})
|