Skip to content

Commit

Permalink
Remove JSDOC-style comments
Browse files Browse the repository at this point in the history
  • Loading branch information
jgarber623 committed Oct 5, 2023
1 parent 98aeb6e commit c1d68dc
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 22 deletions.
8 changes: 3 additions & 5 deletions lib/ava.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,9 @@ const ava = require('eslint-plugin-ava');

module.exports = [
{
/**
* Use AVA's default file-matching patterns.
*
* @see {@link https://github.com/avajs/ava/blob/HEAD/docs/05-command-line.md}
*/
// Use AVA's default file-matching patterns.
//
// https://github.com/avajs/ava/blob/HEAD/docs/05-command-line.md
files: [
'test.js',
'src/test.js',
Expand Down
30 changes: 13 additions & 17 deletions lib/commonjs.js
Original file line number Diff line number Diff line change
@@ -1,24 +1,20 @@
/**
* By default, ESLint's "flat" config considers `*.js` files to be ECMAScript
* modules (ESM). `*.mjs` files are always parsed as ESM modules and `*.cjs`
* files are always parsed as CommonJS modules.
*
* This configures ESLint to treat `*.js` files as CommonJS modules.
*
* Authors may also specify the module type in `package.json` using either
* `"type": "commonjs"` or `"type": "module"`.
*
* @see {@link https://eslint.org/docs/latest/use/configure/configuration-files-new#configuration-objects}
* @see {@link https://nodejs.org/dist/latest-v18.x/docs/api/modules.html#enabling}
*/
// By default, ESLint's "flat" config considers `*.js` files to be ECMAScript
// modules (ESM). `*.mjs` files are always parsed as ESM modules and `*.cjs`
// files are always parsed as CommonJS modules.
//
// This configures ESLint to treat `*.js` files as CommonJS modules.
//
// Authors may also specify the module type in `package.json` using either
// `"type": "commonjs"` or `"type": "module"`.
//
// https://eslint.org/docs/latest/use/configure/configuration-files-new#configuration-objects
// https://nodejs.org/dist/latest-v18.x/docs/api/modules.html#enabling
module.exports = [
{
files: ['**/*.js'],
languageOptions: {
/**
* @see {@link https://www.npmjs.com/package/globals}
* @see {@link https://github.com/sindresorhus/globals/blob/HEAD/globals.json}
*/
// https://www.npmjs.com/package/globals
// https://github.com/sindresorhus/globals/blob/HEAD/globals.json
globals: {
__dirname: 'readonly',
__filename: 'readonly',
Expand Down

0 comments on commit c1d68dc

Please sign in to comment.