Add components

This commit is contained in:
2025-09-29 11:24:36 +02:00
parent 6d1050c6cb
commit 620d4144b5
3748 changed files with 902194 additions and 0 deletions

42
slider/node_modules/eslint/lib/rules/no-octal.js generated vendored Normal file
View File

@@ -0,0 +1,42 @@
/**
* @fileoverview Rule to flag when initializing octal literal
* @author Ilya Volodin
*/
"use strict";
//------------------------------------------------------------------------------
// Rule Definition
//------------------------------------------------------------------------------
/** @type {import('../types').Rule.RuleModule} */
module.exports = {
meta: {
type: "suggestion",
docs: {
description: "Disallow octal literals",
recommended: true,
url: "https://eslint.org/docs/latest/rules/no-octal",
},
schema: [],
messages: {
noOctal: "Octal literals should not be used.",
},
},
create(context) {
return {
Literal(node) {
if (typeof node.value === "number" && /^0\d/u.test(node.raw)) {
context.report({
node,
messageId: "noOctal",
});
}
},
};
},
};