Skip to content

Commit 7d4efa1

Browse files
committed
Turn off jsdoc/no-undefined-types
This was broken in eslint-plugin-jsdoc#8 in 2019-06. Disabled, for now. Check back later. Release version 1.0.12.
1 parent 4b570dc commit 7d4efa1

File tree

4 files changed

+9
-3
lines changed

4 files changed

+9
-3
lines changed

.eslintrc.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@ module.exports = {
55
'./index.js',
66
'plugin:eslint-plugin-sonarjs/recommended'
77
],
8+
plugins: [
9+
// Enable plugins that are not natively supported by Code Climate. Otherwise results in build errors.
10+
'eslint-plugin-deprecate',
11+
'eslint-plugin-sonarjs'
12+
],
813
rules: {
914
'deprecate/function': ['error',
1015
{'name': 'deprecatedFunction', 'use': 'function x from package y'}

demo/example.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ no-undefined
1515

1616
/**
1717
* @function _fetchPreferences - Fetch a user's tree-view-options preference so that we know what options to call the tree-data endpoint with.
18-
* @param a
18+
* @param {hobject} a
19+
* @param b
1920
* @returns
2021
*/
2122
function ONE_FUNCTION_TO_BRING_THEM_ALL_AND_IN_THE_DARKNESS_BIND_THEM (params) {

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ module.exports = {
6464
'jsdoc/match-description': 'warn',
6565
'jsdoc/newline-after-description': 'off',
6666
'jsdoc/no-types': 'off',
67-
'jsdoc/no-undefined-types': 'warn',
67+
'jsdoc/no-undefined-types': 'off', // This was broken in eslint-plugin-jsdoc#8 in 2019-06. Disabled, for now. Check back later.
6868
'jsdoc/require-description-complete-sentence': 'off',
6969
'jsdoc/require-description': 'warn',
7070
'jsdoc/require-example': 'off',

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "eslint-config-tree",
3-
"version": "1.0.11",
3+
"version": "1.0.12",
44
"description": "Shared Tree configuration that contains overrides and enhancements on top of the base frontier configuration.",
55
"main": "index.js",
66
"repository": {

0 commit comments

Comments
 (0)