Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci(eslint): ignore private/internal code for jsdoc rules #6416

Merged
merged 9 commits into from
Mar 7, 2023
15 changes: 12 additions & 3 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,14 +69,19 @@
"curly": "error",
"jest/expect-expect": "off",
"jest/no-export": "warn",
"jsdoc/require-jsdoc": "off",
"jsdoc/check-tag-names": "off",
"jsdoc/require-jsdoc": "off",
"lines-between-class-members": ["error", "always"],
"no-multiple-empty-lines": ["error", { "max": 1 }],
"no-unneeded-ternary": "error",
"no-eval": "error",
"no-implied-eval": "error",
"no-multiple-empty-lines": [
"error",
{
"max": 1
}
],
"no-new-func": "error",
"no-unneeded-ternary": "error",
"react/forbid-component-props": [
"warn",
{
Expand Down Expand Up @@ -130,6 +135,10 @@
"settings": {
"react": {
"pragma": "h"
},
"jsdoc": {
"ignoreInternal": true,
"ignorePrivate": true
}
}
}