2017-12-16 06:44:17 -05:00
|
|
|
{
|
2022-04-12 11:07:25 -04:00
|
|
|
"env": {
|
|
|
|
"browser": true,
|
|
|
|
"node": false
|
|
|
|
},
|
2022-04-26 12:38:41 -04:00
|
|
|
"plugins": [
|
|
|
|
"markdown"
|
|
|
|
],
|
|
|
|
"overrides": [
|
|
|
|
{
|
|
|
|
// 2. Enable the Markdown processor for all .md files.
|
|
|
|
"files": ["./**/*.md"],
|
|
|
|
"processor": "markdown/markdown"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
// In v2, configuration for fenced code blocks is separate from the
|
|
|
|
// containing Markdown file. Each code block has a virtual filename
|
|
|
|
// appended to the Markdown file's path.
|
|
|
|
"files": [
|
|
|
|
"./**/*.md/*.js"
|
|
|
|
],
|
|
|
|
// Configuration for fenced code blocks goes with the override for
|
|
|
|
// the code block's virtual filename, for example:
|
|
|
|
"parserOptions": {
|
|
|
|
"ecmaFeatures": {
|
|
|
|
"impliedStrict": true
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"rules": {
|
|
|
|
"no-array-for-each": "off",
|
|
|
|
"no-undef": "off",
|
|
|
|
"no-unused-vars": "off",
|
|
|
|
"unicorn/no-array-for-each": "off",
|
|
|
|
"unicorn/numeric-separators-style": "off",
|
|
|
|
"no-unused-expressions": "off",
|
|
|
|
"no-unused-labels": "off",
|
|
|
|
"no-labels": "off",
|
|
|
|
"no-redeclare": "off"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
2017-12-16 06:44:17 -05:00
|
|
|
"parserOptions": {
|
|
|
|
"sourceType": "script"
|
|
|
|
},
|
2022-04-12 11:07:25 -04:00
|
|
|
"extends": "../.eslintrc.json",
|
2017-12-16 06:44:17 -05:00
|
|
|
"rules": {
|
2019-02-26 08:13:59 -05:00
|
|
|
"no-new": "off",
|
2022-04-12 11:07:25 -04:00
|
|
|
"prefer-template": "error",
|
2019-02-21 08:55:16 -05:00
|
|
|
"strict": "error",
|
2021-01-26 08:53:26 -05:00
|
|
|
"unicorn/no-array-for-each": "off",
|
2022-04-12 11:07:25 -04:00
|
|
|
"unicorn/numeric-separators-style": "off"
|
2017-12-16 06:44:17 -05:00
|
|
|
}
|
|
|
|
}
|