Dev Build / cleanup (push) Canceled after 0s
Dev Build / typecheck (push) Canceled after 0s
Dev Build / build (linux-arm64, ubuntu-24.04-arm, linux-arm64) (push) Canceled after 0s
Dev Build / build (linux-x64, ubuntu-latest, linux-x64) (push) Canceled after 0s
Dev Build / build (win-x64, windows-latest, win32-x64) (push) Canceled after 0s
Dev Build / dispatch-dev-docker (push) Skipped
19 lines
553 B
Plaintext
19 lines
553 B
Plaintext
"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();
|
|
};
|