Update checked-in dependencies
This commit is contained in:
parent
6b0d45a5c6
commit
cc1adb825a
4247 changed files with 144820 additions and 149530 deletions
8
node_modules/eslint-plugin-github/lib/rules/no-dataset.js
generated
vendored
8
node_modules/eslint-plugin-github/lib/rules/no-dataset.js
generated
vendored
|
|
@ -1,6 +1,10 @@
|
|||
module.exports = {
|
||||
meta: {
|
||||
docs: {},
|
||||
type: 'problem',
|
||||
docs: {
|
||||
description: 'enforce usage of `Element.prototype.getAttribute` instead of `Element.prototype.datalist`',
|
||||
url: require('../url')(module)
|
||||
},
|
||||
schema: []
|
||||
},
|
||||
|
||||
|
|
@ -8,7 +12,7 @@ module.exports = {
|
|||
return {
|
||||
MemberExpression(node) {
|
||||
if (node.property && node.property.name === 'dataset') {
|
||||
context.report(node, "Use getAttribute('data-your-attribute') instead of dataset.")
|
||||
context.report({node, message: "Use getAttribute('data-your-attribute') instead of dataset."})
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue