Skip to content

Commit f3a0f2f

Browse files
committed
fix: Fix wrong alignment
1 parent 0d10c11 commit f3a0f2f

File tree

3 files changed

+27
-27
lines changed

3 files changed

+27
-27
lines changed

test/rules/assertions/noUndefinedTypes.js

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ export default {
22
invalid: [
33
{
44
code: `
5-
/**
6-
* @param {HerType} baz - Foo.
7-
*/
5+
/**
6+
* @param {HerType} baz - Foo.
7+
*/
88
function quux(foo, bar, baz) {
99
1010
}
@@ -28,9 +28,9 @@ export default {
2828
},
2929
{
3030
code: `
31-
/**
32-
* @param {HerType} baz - Foo.
33-
*/
31+
/**
32+
* @param {HerType} baz - Foo.
33+
*/
3434
function quux(foo, bar, baz) {
3535
3636
}
@@ -73,9 +73,9 @@ export default {
7373
* @param {MyType} foo - Bar.
7474
* @param {HisType} bar - Foo.
7575
*/
76-
function quux(foo, bar) {
76+
function quux(foo, bar) {
7777
78-
}
78+
}
7979
`,
8080
errors: [
8181
{
@@ -89,11 +89,11 @@ export default {
8989
},
9090
{
9191
code: `
92-
/**
93-
* @param {MyType} foo - Bar.
94-
* @param {HisType} bar - Foo.
95-
* @param {HerType} baz - Foo.
96-
*/
92+
/**
93+
* @param {MyType} foo - Bar.
94+
* @param {HisType} bar - Foo.
95+
* @param {HerType} baz - Foo.
96+
*/
9797
function quux(foo, bar, baz) {
9898
9999
}
@@ -404,9 +404,9 @@ export default {
404404
* @param {MyType} foo - Bar.
405405
* @param {HisType} bar - Foo.
406406
*/
407-
function quux(foo, bar) {
407+
function quux(foo, bar) {
408408
409-
}
409+
}
410410
`,
411411
options: [{
412412
definedTypes: ['MyType', 'HisType']
@@ -419,9 +419,9 @@ export default {
419419
* @param {HisType} bar - Foo.
420420
* @param {HerType} baz - Foo.
421421
*/
422-
function quux(foo, bar, baz) {
422+
function quux(foo, bar, baz) {
423423
424-
}
424+
}
425425
`,
426426
options: [{
427427
definedTypes: ['MyType']
@@ -444,9 +444,9 @@ export default {
444444
* @param {HisType} bar - Foo.
445445
* @param {HerType} baz - Foo.
446446
*/
447-
function quux(foo, bar, baz) {
447+
function quux(foo, bar, baz) {
448448
449-
}
449+
}
450450
`,
451451
options: [{
452452
definedTypes: ['MyType']

test/rules/assertions/requireJsdoc.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1432,13 +1432,13 @@ export default {
14321432
/**
14331433
*
14341434
*/
1435-
function test() {
1435+
function test() {
14361436
1437-
}
1437+
}
14381438
1439-
module.exports = {
1440-
prop: { prop2: test }
1441-
}
1439+
module.exports = {
1440+
prop: { prop2: test }
1441+
}
14421442
`,
14431443
env: {
14441444
node: true

test/rules/assertions/requireReturns.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -171,9 +171,9 @@ export default {
171171
},
172172
{
173173
code: `
174-
/**
175-
*
176-
*/
174+
/**
175+
*
176+
*/
177177
async function quux () {}
178178
`,
179179
errors: [

0 commit comments

Comments
 (0)