Bump packages to fix linter
This commit is contained in:
parent
ed9506bbaf
commit
0a11e3fdd9
6063 changed files with 378752 additions and 306784 deletions
11
node_modules/eslint-plugin-escompat/lib/rules/no-public-instance-class-fields.js
generated
vendored
Normal file
11
node_modules/eslint-plugin-escompat/lib/rules/no-public-instance-class-fields.js
generated
vendored
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
module.exports = (context, badBrowser) => ({
|
||||
// Ignore type annotations that don't assign
|
||||
'ClassProperty[static=false]:not([typeAnnotation]:not([value]))'(node) {
|
||||
if (node.value === null) return
|
||||
context.report(node, `Instance Class Fields are not supported in ${badBrowser}`)
|
||||
},
|
||||
'PropertyDefinition[static=false]:not([typeAnnotation]:not([value]))'(node) {
|
||||
if (node.value === null) return
|
||||
context.report(node, `Instance Class Fields are not supported in ${badBrowser}`)
|
||||
}
|
||||
})
|
||||
Loading…
Add table
Add a link
Reference in a new issue