Update checked-in dependencies
This commit is contained in:
parent
49f7b34c3d
commit
5261a1223f
1640 changed files with 174830 additions and 182292 deletions
13
node_modules/eslint-plugin-escompat/lib/rules/no-logical-assignment-operator.js
generated
vendored
Normal file
13
node_modules/eslint-plugin-escompat/lib/rules/no-logical-assignment-operator.js
generated
vendored
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
'use strict';
|
||||
|
||||
module.exports = (context, badBrowser) => ({
|
||||
'AssignmentExpression[operator="||="]'(node) {
|
||||
context.report(node, `Logical assignment operators are not supported in ${badBrowser}`)
|
||||
},
|
||||
'AssignmentExpression[operator="&&="]'(node) {
|
||||
context.report(node, `Logical assignment operators are not supported in ${badBrowser}`)
|
||||
},
|
||||
'AssignmentExpression[operator="??="]'(node) {
|
||||
context.report(node, `Logical assignment operators are not supported in ${badBrowser}`)
|
||||
}
|
||||
})
|
||||
Loading…
Add table
Add a link
Reference in a new issue