-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
13 changed files
with
89 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,13 @@ | ||
export declare function exportedNoJsDocs(): boolean; | ||
export declare const one = 1; | ||
/** | ||
* | ||
* @param letter | ||
*/ | ||
export declare function badJsDocs(letter: string): string; | ||
/** | ||
* Makes a letter upper case. | ||
* @param {string} letter Either upper or lower case. | ||
* @returns {string} Upper case letter | ||
*/ | ||
export declare function goodJsDocs(letter: string): string; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,25 @@ | ||
/* eslint-disable unicorn/prevent-abbreviations */ | ||
function noJsDocs() { | ||
// No JS Doc error | ||
return false; | ||
} | ||
export function exportedNoJsDocs() { | ||
// No JS Doc error | ||
return noJsDocs(); | ||
} | ||
export const one = 1; | ||
/** | ||
* | ||
* @param letter | ||
*/ | ||
export function badJsDocs(letter) { | ||
return letter.toLowerCase(); | ||
} | ||
/** | ||
* Makes a letter upper case. | ||
* @param {string} letter Either upper or lower case. | ||
* @returns {string} Upper case letter | ||
*/ | ||
export function goodJsDocs(letter) { | ||
return letter.toUpperCase(); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,5 @@ | ||
/** | ||
* Words that will be flagged as not allowed. | ||
*/ | ||
export declare const flagWords: string[]; | ||
export default flagWords; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,5 @@ | ||
/** | ||
* Words that will be treated as valid. | ||
*/ | ||
export declare const words: string[]; | ||
export default words; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,5 @@ | ||
/** | ||
* Words that will not be flagged by write-good-comments. | ||
*/ | ||
export declare const whitelist: string[]; | ||
export default whitelist; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,7 @@ | ||
// eslint-disable-next-line @eslint-community/eslint-comments/disable-enable-pair | ||
/* eslint-disable @cspell/spellchecker */ | ||
/** | ||
* Words that will not be flagged by write-good-comments. | ||
*/ | ||
export const whitelist = ['only', 'validate']; | ||
export default whitelist; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,9 @@ | ||
// eslint-disable-next-line @eslint-community/eslint-comments/disable-enable-pair | ||
/* eslint-disable @cspell/spellchecker */ | ||
|
||
/** | ||
* Words that will not be flagged by write-good-comments. | ||
*/ | ||
export const whitelist = ['only', 'validate'] | ||
|
||
export default whitelist |