2017-12-16 12:44:17 +01:00
|
|
|
{
|
2022-11-12 09:46:37 +01:00
|
|
|
"extends": "../.eslintrc.json",
|
2022-04-12 17:07:25 +02:00
|
|
|
"env": {
|
|
|
|
"browser": true,
|
|
|
|
"node": false
|
|
|
|
},
|
2022-11-12 09:46:37 +01:00
|
|
|
"parserOptions": {
|
|
|
|
"sourceType": "script"
|
|
|
|
},
|
2022-04-26 18:38:41 +02:00
|
|
|
"plugins": [
|
|
|
|
"markdown"
|
|
|
|
],
|
2022-11-12 09:46:37 +01:00
|
|
|
"rules": {
|
|
|
|
"no-new": "off",
|
|
|
|
"strict": "error",
|
|
|
|
"unicorn/no-array-for-each": "off",
|
|
|
|
"unicorn/numeric-separators-style": "off",
|
|
|
|
"unicorn/prefer-node-protocol": "off"
|
|
|
|
},
|
2022-04-26 18:38:41 +02:00
|
|
|
"overrides": [
|
|
|
|
{
|
|
|
|
// 2. Enable the Markdown processor for all .md files.
|
2022-11-12 09:46:37 +01:00
|
|
|
"files": [
|
|
|
|
"./**/*.md"
|
|
|
|
],
|
2022-04-26 18:38:41 +02:00
|
|
|
"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",
|
2022-11-12 09:46:37 +01:00
|
|
|
"no-labels": "off",
|
|
|
|
"no-redeclare": "off",
|
2022-04-26 18:38:41 +02:00
|
|
|
"no-undef": "off",
|
|
|
|
"no-unused-expressions": "off",
|
|
|
|
"no-unused-labels": "off",
|
2022-11-12 09:46:37 +01:00
|
|
|
"no-unused-vars": "off",
|
|
|
|
"unicorn/no-array-for-each": "off",
|
|
|
|
"unicorn/numeric-separators-style": "off"
|
2022-04-26 18:38:41 +02:00
|
|
|
}
|
|
|
|
}
|
2022-11-12 09:46:37 +01:00
|
|
|
]
|
2017-12-16 12:44:17 +01:00
|
|
|
}
|