initial commit of actions
This commit is contained in:
commit
949ece5785
44660 changed files with 12034344 additions and 0 deletions
16
github/codeql-action-v2/node_modules/eslint-plugin-escompat/lib/rules/no-numeric-separators.js
generated
vendored
Normal file
16
github/codeql-action-v2/node_modules/eslint-plugin-escompat/lib/rules/no-numeric-separators.js
generated
vendored
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
'use strict';
|
||||
|
||||
module.exports = {
|
||||
meta: {
|
||||
fixable: 'code'
|
||||
},
|
||||
create: (context, badBrowser) => ({
|
||||
'Literal[raw=/_/][value>=0], Literal[raw=/_/][value<=0]'(node) {
|
||||
context.report({
|
||||
node,
|
||||
message: `Numeric Separators are not supported in ${badBrowser}`,
|
||||
fix: fixer => fixer.replaceText(node, String(node.value))
|
||||
})
|
||||
}
|
||||
})
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue