Skip to content

Commit e9150fb

Browse files
authored
Update comments (#344)
1 parent 88ceae3 commit e9150fb

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

.eslintrc.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
/**
66
* @type {ConfigData}
7-
* @see https://eslint.org/docs/latest/use/configure/configuration-files
7+
* @see https://eslint.org/docs/latest/use/configure/configuration-files-deprecated
88
*/
99
const config = {
1010
extends: './index.js',

index.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
// @ts-check
22

3-
// eslint-disable-next-line jsdoc/valid-types -- https://www.typescriptlang.org/docs/handbook/jsdoc-supported-types.html
43
/** @typedef {import('eslint').ESLint.ConfigData} ConfigData */
54

65
/**
76
* @type {ConfigData}
8-
* @see https://eslint.org/docs/latest/use/configure/configuration-files
7+
* @see https://eslint.org/docs/latest/use/configure/configuration-files-deprecated
98
*/
109
const config = {
1110
extends: [
@@ -14,7 +13,7 @@ const config = {
1413
'plugin:@eslint-community/eslint-comments/recommended'
1514
],
1615
overrides: [
17-
// https://github.com/mightyiam/eslint-config-love/tree/v44.0.0#example-config
16+
// For JavaScript/TypeScript
1817
{
1918
files: [
2019
'*.js',
@@ -24,6 +23,7 @@ const config = {
2423
],
2524
extends: 'love'
2625
},
26+
// For JavaScript
2727
{
2828
files: [
2929
'*.js',
@@ -33,6 +33,7 @@ const config = {
3333
'plugin:jsdoc/recommended'
3434
]
3535
},
36+
// For TypeScript
3637
{
3738
files: [
3839
'*.ts',

0 commit comments

Comments
 (0)