-
-
Notifications
You must be signed in to change notification settings - Fork 169
Closed
Labels
Description
Expected behavior
The eslint-plugin-jsdoc should not raise any errors on codeclimate.
Actual behavior
When the code is pushed to my repo, codeclimate raises this error on all the files: Definition for rule 'jsdoc/require-jsdoc' was not found. However, I don't get this error on my editor.
ESLint Config
// Format JS (or JSON) code here
{
"root": true,
"extends": ["airbnb-base", "plugin:jsdoc/recommended"],
"plugins": ["jsdoc"],
"env": {
"node": true,
"es6": true,
"mocha": true
},
"parser": "babel-eslint",
"parserOptions": {
"ecmaVersion": 2015,
"sourceType": "module",
"allowImportExportEverywhere": true
},
"rules": {
"no-use-before-define": ["error", { "functions": false, "classes": false }],
"jsdoc/require-jsdoc": ["error", {"require": {
"FunctionDeclaration": true,
"MethodDefinition": true,
"ClassDeclaration": true,
"FunctionExpression": true
}}]
}
}ESLint sample
The error is triggered whenever I push to the github repo here.
Environment
- Node version: v12.18.3
- ESLint version v7.9.0
eslint-plugin-jsdocversion: ^30.7.3