8 lines
284 B
JavaScript
8 lines
284 B
JavaScript
module.exports = (context, badBrowser) => ({
|
|
ClassPrivateProperty(node) {
|
|
context.report(node, `Private Class Fields are not supported in ${badBrowser}`)
|
|
},
|
|
PrivateIdentifier(node) {
|
|
context.report(node, `Private Class Fields are not supported in ${badBrowser}`)
|
|
}
|
|
})
|