0
0
Fork 0
mirror of https://github.com/DavidAnson/markdownlint-cli2-action.git synced 2024-10-16 12:07:01 +02: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,
"rules": {
"indent": ["error", 2],
"function-call-argument-newline": "off",
"max-statements": "off",
"multiline-ternary": "off",
"no-magic-numbers": "off",
"no-ternary": "off",
"one-var": "off",
"padded-blocks": "off",
"prefer-named-capture-group": "off",
"sort-keys": "off",
"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 information = ruleInformation ? ` ${ruleInformation}` : "";
const message =
// eslint-disable-next-line max-len
`${fileName}${line}${column} ${name} ${ruleDescription}${detail}${context}${information}`;
const annotation = {
"title": ruleDescription,