File tree 3 files changed +1
-8
lines changed
3 files changed +1
-8
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ module.exports = {
20
20
"plugin:@ota-meshi/+prettier" ,
21
21
] ,
22
22
rules : {
23
- "require-jsdoc" : "error " ,
23
+ "require-jsdoc" : "off " ,
24
24
"no-warning-comments" : "warn" ,
25
25
"no-lonely-if" : "off" ,
26
26
"new-cap" : "off" ,
@@ -150,7 +150,6 @@ module.exports = {
150
150
project : require . resolve ( "./tsconfig.json" ) ,
151
151
} ,
152
152
rules : {
153
- "require-jsdoc" : "off" ,
154
153
"no-console" : "off" ,
155
154
} ,
156
155
} ,
Original file line number Diff line number Diff line change @@ -44,13 +44,11 @@ const categoryRules = categories.map((cat) => {
44
44
}
45
45
} )
46
46
47
- //eslint-disable-next-line require-jsdoc -- ignore
48
47
export default function renderRulesTableContent (
49
48
buildRulePath = ( ruleName : string ) => `./rules/${ ruleName } .md` ,
50
49
) : string {
51
50
// -----------------------------------------------------------------------------
52
51
53
- //eslint-disable-next-line require-jsdoc -- ignore
54
52
function toRuleRow ( rule : RuleModule ) {
55
53
const mark = `${ rule . meta . docs . recommended ? ":star:" : "" } ${
56
54
rule . meta . fixable ? ":wrench:" : ""
@@ -65,7 +63,6 @@ export default function renderRulesTableContent(
65
63
return `| ${ link } | ${ description } | ${ mark } |`
66
64
}
67
65
68
- //eslint-disable-next-line require-jsdoc -- ignore
69
66
function toDeprecatedRuleRow ( rule : RuleModule ) {
70
67
const link = `[${ rule . meta . docs . ruleId } ](${ buildRulePath (
71
68
rule . meta . docs . ruleName || "" ,
Original file line number Diff line number Diff line change @@ -4,7 +4,6 @@ import { rules } from "../src/utils/rules"
4
4
import type { RuleModule } from "../src/types"
5
5
import { getNewVersion } from "./lib/changesets-util"
6
6
7
- //eslint-disable-next-line require-jsdoc -- tools
8
7
function formatItems ( items : string [ ] ) {
9
8
if ( items . length <= 2 ) {
10
9
return items . join ( " and " )
@@ -14,7 +13,6 @@ function formatItems(items: string[]) {
14
13
} `
15
14
}
16
15
17
- //eslint-disable-next-line require-jsdoc -- tools
18
16
function yamlValue ( val : unknown ) {
19
17
if ( typeof val === "string" ) {
20
18
return `"${ val . replace ( / \\ / gu, "\\\\" ) . replace ( / " / gu, '\\"' ) } "`
@@ -24,7 +22,6 @@ function yamlValue(val: unknown) {
24
22
25
23
const ROOT = path . resolve ( __dirname , "../docs/rules" )
26
24
27
- //eslint-disable-next-line require-jsdoc -- tools
28
25
function pickSince ( content : string ) : string | null | Promise < string > {
29
26
const fileIntro = / ^ - - - \n ( (?: .* \n ) + ) - - - \n * / . exec ( content )
30
27
if ( fileIntro ) {
You can’t perform that action at this time.
0 commit comments