Files
ci_cd_kniaz/node_modules/eslint/messages/rule-unsupported-language.js
21_KnjazkinSO 08d4cc1f80
Some checks failed
CI / build (push) Failing after 3m53s
add CI pipeline with lint, test, build
2026-05-10 16:19:05 +03:00

19 lines
553 B
JavaScript

"use strict";
module.exports = function ({ ruleIds, language }) {
return `
The following rules do not support the language "${language}":
${ruleIds.map(id => `\t- "${id}"`).join("\n")}
To fix this error, either:
- Remove the rule from your configuration, or set its severity to "off".
- Use the "files" option to apply the rule only to files of the supported language, for example:
{
files: ["**/*.js"],
rules: { "${ruleIds[0]}": "error" }
}
See https://eslint.org/docs/latest/use/configure/rules for more information.
`.trimStart();
};