Skip to content

Commit

Permalink
New: Add rules to recommended config (#157)
Browse files Browse the repository at this point in the history
It's basically what documentation suggests. One rule I would add, but in documentation only, is `"import/no-unresolved": "off"`
  • Loading branch information
arvigeus authored Aug 13, 2020
1 parent fc4d7aa commit d80be9e
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}
]
}
Expand Down

0 comments on commit d80be9e

Please sign in to comment.