Skip to content

Commit

Permalink
Update comments (#344)
Browse files Browse the repository at this point in the history
  • Loading branch information
munierujp authored Apr 14, 2024
1 parent 88ceae3 commit e9150fb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

/**
* @type {ConfigData}
* @see https://eslint.org/docs/latest/use/configure/configuration-files
* @see https://eslint.org/docs/latest/use/configure/configuration-files-deprecated
*/
const config = {
extends: './index.js',
Expand Down
7 changes: 4 additions & 3 deletions index.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
// @ts-check

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

/**
* @type {ConfigData}
* @see https://eslint.org/docs/latest/use/configure/configuration-files
* @see https://eslint.org/docs/latest/use/configure/configuration-files-deprecated
*/
const config = {
extends: [
Expand All @@ -14,7 +13,7 @@ const config = {
'plugin:@eslint-community/eslint-comments/recommended'
],
overrides: [
// https://github.com/mightyiam/eslint-config-love/tree/v44.0.0#example-config
// For JavaScript/TypeScript
{
files: [
'*.js',
Expand All @@ -24,6 +23,7 @@ const config = {
],
extends: 'love'
},
// For JavaScript
{
files: [
'*.js',
Expand All @@ -33,6 +33,7 @@ const config = {
'plugin:jsdoc/recommended'
]
},
// For TypeScript
{
files: [
'*.ts',
Expand Down

0 comments on commit e9150fb

Please sign in to comment.