Regenerating node_modules
This commit is contained in:
parent
09b4a82c83
commit
c96f84308a
5488 changed files with 487362 additions and 60779 deletions
16
node_modules/eslint-plugin-github/lib/rules/no-dataset.js
generated
vendored
Normal file
16
node_modules/eslint-plugin-github/lib/rules/no-dataset.js
generated
vendored
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
module.exports = {
|
||||
meta: {
|
||||
docs: {},
|
||||
schema: []
|
||||
},
|
||||
|
||||
create(context) {
|
||||
return {
|
||||
MemberExpression(node) {
|
||||
if (node.property && node.property.name === 'dataset') {
|
||||
context.report(node, "Use getAttribute('data-your-attribute') instead of dataset.")
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue