mirror of
https://github.com/DavidAnson/markdownlint-cli2-action.git
synced 2024-12-22 21:03:53 +01:00
62350ad050
endLine/endColumn data to annotations, use output formatter instead of parsing logError (fixes #79).
75 lines
2.3 KiB
JSON
75 lines
2.3 KiB
JSON
{
|
|
"parserOptions": {
|
|
"ecmaVersion": 2019,
|
|
"sourceType": "script"
|
|
},
|
|
"env": {
|
|
"node": true,
|
|
"es6": true
|
|
},
|
|
"plugins": [
|
|
"node",
|
|
"unicorn"
|
|
],
|
|
"extends": [
|
|
"eslint:all",
|
|
"plugin:unicorn/all"
|
|
],
|
|
"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",
|
|
"node/no-callback-literal": "error",
|
|
"node/no-exports-assign": "error",
|
|
"node/no-extraneous-import": "error",
|
|
"node/no-extraneous-require": "error",
|
|
"node/no-missing-import": "error",
|
|
"node/no-missing-require": "error",
|
|
"node/no-new-require": "error",
|
|
"node/no-path-concat": "error",
|
|
"node/no-process-exit": "error",
|
|
"node/no-unpublished-bin": "error",
|
|
"node/no-unpublished-import": "error",
|
|
"node/no-unpublished-require": "error",
|
|
"node/no-unsupported-features/es-builtins": "error",
|
|
"node/no-unsupported-features/es-syntax": "error",
|
|
"node/no-unsupported-features/node-builtins": "error",
|
|
"node/process-exit-as-throw": "error",
|
|
"node/shebang": "error",
|
|
"node/no-deprecated-api": "error",
|
|
"node/callback-return": "error",
|
|
"node/exports-style": "error",
|
|
"node/file-extension-in-import": "error",
|
|
"node/global-require": "error",
|
|
"node/no-mixed-requires": "error",
|
|
"node/no-process-env": "error",
|
|
"node/no-restricted-import": "error",
|
|
"node/no-restricted-require": "error",
|
|
"node/no-sync": "error",
|
|
"node/prefer-global/buffer": "error",
|
|
"node/prefer-global/console": "error",
|
|
"node/prefer-global/process": "error",
|
|
"node/prefer-global/text-decoder": "error",
|
|
"node/prefer-global/text-encoder": "error",
|
|
"node/prefer-global/url-search-params": "error",
|
|
"node/prefer-global/url": "error",
|
|
"node/prefer-promises/dns": "error",
|
|
"node/prefer-promises/fs": "error",
|
|
|
|
"unicorn/no-array-callback-reference": "off",
|
|
"unicorn/no-unsafe-regex": "off",
|
|
"unicorn/prefer-module": "off",
|
|
"unicorn/prefer-top-level-await": "off",
|
|
"unicorn/switch-case-braces": ["error", "avoid"]
|
|
}
|
|
}
|