| Server IP : 217.160.0.212 / Your IP : 216.73.217.80 Web Server : Apache System : Linux www 6.18.52-i1-ampere #1203 SMP Mon Sep 14 18:29:59 CEST 2026 aarch64 User : sws1073854427 ( 1073854427) PHP Version : 8.4.23 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/share/nodejs/@babel/eslint-plugin/lib/rules/ |
Upload File : |
const ruleComposer = require("eslint-rule-composer");
const eslint = require("eslint");
const rule = new eslint.Linter().getRules().get("object-curly-spacing");
module.exports = ruleComposer.filterReports(rule, problem => {
const node = problem.node;
if (node.type === "ExportNamedDeclaration" && node.specifiers.length === 1 && node.specifiers[0].type === "ExportDefaultSpecifier") {
return false;
}
return true;
});
//# sourceMappingURL=object-curly-spacing.cjs.map