mirror of
https://github.com/github/codeql-action.git
synced 2026-01-02 04:30:14 +08:00
11 lines
293 B
JavaScript
11 lines
293 B
JavaScript
'use strict';
|
|
|
|
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}`)
|
|
}
|
|
})
|