mirror of
https://github.com/DavidAnson/markdownlint-cli2-action.git
synced 2024-12-22 21:03:53 +01:00
71 lines
2.2 KiB
JSON
71 lines
2.2 KiB
JSON
{
|
|
"parserOptions": {
|
|
"ecmaVersion": 2019,
|
|
"sourceType": "script"
|
|
},
|
|
"env": {
|
|
"node": true,
|
|
"es6": true
|
|
},
|
|
"plugins": [
|
|
"node",
|
|
"unicorn"
|
|
],
|
|
"extends": [
|
|
"eslint:all",
|
|
"plugin:unicorn/all"
|
|
],
|
|
"reportUnusedDisableDirectives": true,
|
|
"rules": {
|
|
"max-statements": "off",
|
|
"multiline-ternary": "off",
|
|
"no-magic-numbers": "off",
|
|
"no-ternary": "off",
|
|
"one-var": "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"]
|
|
}
|
|
}
|