mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-12-16 14:00:13 +01:00
54 lines
1.5 KiB
JSON
54 lines
1.5 KiB
JSON
{
|
|
"parser": "espree",
|
|
"parserOptions": {
|
|
"ecmaVersion": 2018
|
|
},
|
|
"env": {
|
|
"node": true,
|
|
"es6": true
|
|
},
|
|
"extends": "eslint:all",
|
|
"rules": {
|
|
"array-bracket-spacing": ["error", "always"],
|
|
"array-element-newline": "off",
|
|
"capitalized-comments": "off",
|
|
"dot-location": ["error", "property"],
|
|
"func-style": ["error", "declaration"],
|
|
"function-paren-newline": "off",
|
|
"global-require": "off",
|
|
"id-length": "off",
|
|
"indent": ["error", 2, { "SwitchCase": 1 }],
|
|
"linebreak-style": "off",
|
|
"max-lines": "off",
|
|
"max-lines-per-function": "off",
|
|
"max-params": ["error", 10],
|
|
"max-statements": ["error", 33],
|
|
"multiline-comment-style": ["error", "separate-lines"],
|
|
"multiline-ternary": "off",
|
|
"newline-per-chained-call": "off",
|
|
"no-empty-function": "off",
|
|
"no-extra-parens": "off",
|
|
"no-implicit-coercion": "off",
|
|
"no-magic-numbers": "off",
|
|
"no-nested-ternary": "off",
|
|
"no-param-reassign": "off",
|
|
"no-plusplus": "off",
|
|
"no-sync": "off",
|
|
"no-ternary": "off",
|
|
"no-undefined": "off",
|
|
"object-curly-spacing": ["error", "always"],
|
|
"object-shorthand": "off",
|
|
"one-var": "off",
|
|
"operator-linebreak": ["error", "after"],
|
|
"padded-blocks": "off",
|
|
"prefer-arrow-callback": "off",
|
|
"prefer-destructuring": "off",
|
|
"prefer-named-capture-group": "off",
|
|
"prefer-template": "off",
|
|
"require-unicode-regexp": "off",
|
|
"sort-keys": "off",
|
|
"space-before-function-paren": ["error", "never"],
|
|
"vars-on-top": "off",
|
|
"wrap-regex": "off"
|
|
}
|
|
}
|