mermaid/.eslintrc.json

51 lines
1.2 KiB
JSON
Raw Normal View History

2019-09-12 21:03:49 +02:00
{
"env": {
"browser": true,
2019-10-27 15:24:56 +01:00
"es6": true,
"jest/globals": true,
2019-10-27 15:24:56 +01:00
"node": true
2019-09-12 21:03:49 +02:00
},
"parser": "@babel/eslint-parser",
2019-09-12 21:03:49 +02:00
"parserOptions": {
"ecmaFeatures": {
"experimentalObjectRestSpread": true,
"jsx": true
},
"sourceType": "module"
2019-09-12 21:03:49 +02:00
},
2022-05-11 03:08:32 +02:00
"extends": [
"eslint:recommended",
"plugin:jsdoc/recommended",
2022-05-11 03:08:32 +02:00
"plugin:json/recommended",
"plugin:markdown/recommended",
2022-09-03 09:35:47 +02:00
"prettier"
2022-05-11 03:08:32 +02:00
],
2022-09-03 09:35:47 +02:00
"plugins": ["html", "jest", "jsdoc", "json"],
2021-11-11 07:37:14 +01:00
"rules": {
"no-prototype-builtins": "off",
"no-unused-vars": "off",
"jsdoc/check-indentation": "off",
"jsdoc/check-alignment": "off",
"jsdoc/check-line-alignment": "off",
"jsdoc/multiline-blocks": "off",
"jsdoc/newline-after-description": "off",
"jsdoc/tag-lines": "off",
"jsdoc/require-param-description": "off",
"jsdoc/require-param-type": "off",
"jsdoc/require-returns": "off",
"jsdoc/require-returns-description": "off",
"cypress/no-async-tests": "off",
"json/*": ["error", "allowComments"],
"no-empty": ["error", { "allowEmptyCatch": true }]
},
"overrides": [
{
"files": "./**/*.html",
"rules": {
"no-undef": "off",
"jsdoc/require-jsdoc": "off"
}
}
]
}