From b0b897ce3f77f9f91f61400a912d96e543fcd6a9 Mon Sep 17 00:00:00 2001 From: Nikolay Stoynov Date: Mon, 3 Aug 2020 08:29:30 +0300 Subject: [PATCH] New: Add recommended config It's basically what documentation suggests. One rule I would add, but in documentation only, is `"import/no-unresolved": "off"` --- lib/index.js | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/lib/index.js b/lib/index.js index 06498b2..61679fd 100644 --- a/lib/index.js +++ b/lib/index.js @@ -14,7 +14,21 @@ module.exports = { overrides: [ { files: ["*.md"], - processor: "markdown/markdown" + processor: "markdown/markdown", + parserOptions: { + ecmaFeatures: { + impliedStrict: true + } + }, + rules: { + "eol-last": "off", + "no-undef": "off", + "no-unused-expressions": "off", + "no-unused-vars": "off", + "padded-blocks": "off", + strict: "off", + "unicode-bom": "off" + } } ] }