0
0
Fork 0
mirror of https://github.com/DavidAnson/markdownlint-cli2-action.git synced 2024-11-21 22:01:30 +01:00

Remove deprecated ESLint rules after version update.

This commit is contained in:
David Anson 2023-11-07 18:55:38 -08:00
parent 55caa5fd0a
commit c69f13c27f
3 changed files with 41 additions and 23080 deletions

View file

@ -17,15 +17,11 @@
], ],
"reportUnusedDisableDirectives": true, "reportUnusedDisableDirectives": true,
"rules": { "rules": {
"indent": ["error", 2],
"function-call-argument-newline": "off",
"max-statements": "off", "max-statements": "off",
"multiline-ternary": "off", "multiline-ternary": "off",
"no-magic-numbers": "off", "no-magic-numbers": "off",
"no-ternary": "off", "no-ternary": "off",
"one-var": "off", "one-var": "off",
"padded-blocks": "off",
"prefer-named-capture-group": "off",
"sort-keys": "off", "sort-keys": "off",
"node/handle-callback-err": "error", "node/handle-callback-err": "error",

23116
dist/index.js vendored

File diff suppressed because one or more lines are too long

View file

@ -26,7 +26,6 @@ const outputFormatter = (options) => {
const context = errorContext ? ` [Context: "${errorContext}"]` : ""; const context = errorContext ? ` [Context: "${errorContext}"]` : "";
const information = ruleInformation ? ` ${ruleInformation}` : ""; const information = ruleInformation ? ` ${ruleInformation}` : "";
const message = const message =
// eslint-disable-next-line max-len
`${fileName}${line}${column} ${name} ${ruleDescription}${detail}${context}${information}`; `${fileName}${line}${column} ${name} ${ruleDescription}${detail}${context}${information}`;
const annotation = { const annotation = {
"title": ruleDescription, "title": ruleDescription,