Skip to content

Commit

Permalink
deps: bump eslint-config-ipfs from 3.1.7 to 4.0.0 (#1229)
Browse files Browse the repository at this point in the history
* deps: bump eslint-config-ipfs from 3.1.7 to 4.0.0

Bumps [eslint-config-ipfs](https://github.com/ipfs/eslint-config-ipfs) from 3.1.7 to 4.0.0.
- [Release notes](https://github.com/ipfs/eslint-config-ipfs/releases)
- [Changelog](https://github.com/ipfs/eslint-config-ipfs/blob/main/CHANGELOG.md)
- [Commits](ipfs/eslint-config-ipfs@v3.1.7...v4.0.0)

---
updated-dependencies:
- dependency-name: eslint-config-ipfs
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>

* chore: fix linting

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: achingbrain <[email protected]>
  • Loading branch information
dependabot[bot] and achingbrain authored Apr 27, 2023
1 parent 6b01e36 commit d03ce94
Show file tree
Hide file tree
Showing 57 changed files with 153 additions and 153 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -256,10 +256,10 @@
"env-paths": "^3.0.0",
"esbuild": "^0.17.9",
"eslint": "^8.31.0",
"eslint-config-ipfs": "^3.1.2",
"eslint-config-ipfs": "^4.0.2",
"eslint-plugin-etc": "^2.0.2",
"eslint-plugin-import": "^2.18.0",
"eslint-plugin-jsdoc": "^39.6.4",
"eslint-plugin-jsdoc": "^43.1.1",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^6.1.1",
"execa": "^7.0.0",
Expand Down
10 changes: 5 additions & 5 deletions src/build/index.js
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
/* eslint-disable no-console */

import Listr from 'listr'
import esbuild from 'esbuild'
import path from 'path'
import fs from 'fs-extra'
import pascalcase from 'pascalcase'
import bytes from 'bytes'
import { gzipSize, pkg, hasTsconfig, isTypescript, fromRoot, paths, findBinary } from './../utils.js'
import esbuild from 'esbuild'
import { execa } from 'execa'
import fs from 'fs-extra'
import Listr from 'listr'
import merge from 'merge-options'
import pascalcase from 'pascalcase'
import { gzipSize, pkg, hasTsconfig, isTypescript, fromRoot, paths, findBinary } from './../utils.js'

const defaults = merge.bind({
ignoreUndefined: true
Expand Down
2 changes: 1 addition & 1 deletion src/check-project/check-build-files.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
/* eslint-disable no-console */

import http from 'https'
import {
ensureFileHasContents,
ensureFileNotPresent
} from './utils.js'
import http from 'https'

const managedRepos = 'https://raw.githubusercontent.com/protocol/.github/master/configs/js.json'
const ciFileUrl = 'https://raw.githubusercontent.com/protocol/.github/master/templates/.github/workflows/js-test-and-release.yml'
Expand Down
2 changes: 1 addition & 1 deletion src/check-project/check-licence-files.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@

/* eslint-disable no-console */

import fs from 'fs-extra'
import path from 'path'
import fs from 'fs-extra'
import kleur from 'kleur'
import {
ensureFileHasContents
Expand Down
12 changes: 6 additions & 6 deletions src/check-project/check-monorepo-readme.js
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@

/* eslint-disable no-console */

import fs from 'fs-extra'
import path from 'path'
import {
ensureFileHasContents
} from './utils.js'
import fs from 'fs-extra'
import { toc as makeToc } from 'mdast-util-toc'
import { parseMarkdown, writeMarkdown } from './readme/utils.js'
import { APIDOCS } from './readme/api-docs.js'
import { HEADER } from './readme/header.js'
import { LICENSE } from './readme/license.js'
import { STRUCTURE } from './readme/structure.js'
import { APIDOCS } from './readme/api-docs.js'
import { parseMarkdown, writeMarkdown } from './readme/utils.js'
import {
ensureFileHasContents
} from './utils.js'

/**
* @param {string} projectDir
Expand Down
14 changes: 7 additions & 7 deletions src/check-project/check-readme.js
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@

/* eslint-disable no-console,complexity */

import fs from 'fs-extra'
import path from 'path'
import {
ensureFileHasContents
} from './utils.js'
import fs from 'fs-extra'
import { toc as makeToc } from 'mdast-util-toc'
import { parseMarkdown, writeMarkdown } from './readme/utils.js'
import { APIDOCS } from './readme/api-docs.js'
import { HEADER } from './readme/header.js'
import { LICENSE } from './readme/license.js'
import { INSTALL } from './readme/install.js'
import { APIDOCS } from './readme/api-docs.js'
import { LICENSE } from './readme/license.js'
import { parseMarkdown, writeMarkdown } from './readme/utils.js'
import {
ensureFileHasContents
} from './utils.js'

/**
* @param {string} projectDir
Expand Down
30 changes: 15 additions & 15 deletions src/check-project/index.js
Original file line number Diff line number Diff line change
@@ -1,32 +1,32 @@
/* eslint-disable no-console,complexity */

import fs from 'fs-extra'
import path from 'path'
import { fileURLToPath } from 'url'
import { execa } from 'execa'
import fs from 'fs-extra'
import Listr from 'listr'
import prompt from 'prompt'
import semver from 'semver'
import yargsParser from 'yargs-parser'
import {
isMonorepoProject,
glob
} from '../utils.js'
import { checkBuildFiles } from './check-build-files.js'
import { checkLicenseFiles } from './check-licence-files.js'
import { checkMonorepoFiles } from './check-monorepo-files.js'
import { checkMonorepoReadme } from './check-monorepo-readme.js'
import { checkReadme } from './check-readme.js'
import { monorepoManifest } from './manifests/monorepo.js'
import { typedCJSManifest } from './manifests/typed-cjs.js'
import { typedESMManifest } from './manifests/typed-esm.js'
import { typescriptManifest } from './manifests/typescript.js'
import { untypedCJSManifest } from './manifests/untyped-cjs.js'
import { typedCJSManifest } from './manifests/typed-cjs.js'
import { checkLicenseFiles } from './check-licence-files.js'
import { checkBuildFiles } from './check-build-files.js'
import { checkMonorepoFiles } from './check-monorepo-files.js'
import { checkReadme } from './check-readme.js'
import { checkMonorepoReadme } from './check-monorepo-readme.js'
import {
sortManifest,
ensureFileHasContents,
calculateSiblingVersion
} from './utils.js'
import semver from 'semver'
import Listr from 'listr'
import yargsParser from 'yargs-parser'
import { fileURLToPath } from 'url'
import {
isMonorepoProject,
glob
} from '../utils.js'

const __dirname = path.dirname(fileURLToPath(import.meta.url))

Expand Down
2 changes: 1 addition & 1 deletion src/check-project/manifests/typed-cjs.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { semanticReleaseConfig } from '../semantic-release-config.js'
import mergeOptions from 'merge-options'
import { semanticReleaseConfig } from '../semantic-release-config.js'
import {
sortFields,
constructManifest
Expand Down
2 changes: 1 addition & 1 deletion src/check-project/manifests/typed-esm.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { semanticReleaseConfig } from '../semantic-release-config.js'
import mergeOptions from 'merge-options'
import { semanticReleaseConfig } from '../semantic-release-config.js'
import {
sortFields,
sortExportsMap,
Expand Down
2 changes: 1 addition & 1 deletion src/check-project/manifests/typescript.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* eslint-disable no-console */

import { semanticReleaseConfig } from '../semantic-release-config.js'
import mergeOptions from 'merge-options'
import { semanticReleaseConfig } from '../semantic-release-config.js'
import {
sortFields,
sortExportsMap,
Expand Down
2 changes: 1 addition & 1 deletion src/check-project/manifests/untyped-cjs.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { semanticReleaseConfig } from '../semantic-release-config.js'
import mergeOptions from 'merge-options'
import { semanticReleaseConfig } from '../semantic-release-config.js'
import {
sortFields,
constructManifest
Expand Down
2 changes: 1 addition & 1 deletion src/check-project/readme/structure.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import fs from 'fs-extra'
import path from 'path'
import fs from 'fs-extra'

/**
* @param {string} monorepoDir
Expand Down
12 changes: 6 additions & 6 deletions src/check-project/readme/utils.js
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
import { fromMarkdown } from 'mdast-util-from-markdown'
import { toMarkdown } from 'mdast-util-to-markdown'
import { gfm } from 'micromark-extension-gfm'
import { gfmFromMarkdown, gfmToMarkdown } from 'mdast-util-gfm'
import { gfmTable } from 'micromark-extension-gfm-table'
import { gfmFootnoteFromMarkdown, gfmFootnoteToMarkdown } from 'mdast-util-gfm-footnote'
import { gfmStrikethroughFromMarkdown, gfmStrikethroughToMarkdown } from 'mdast-util-gfm-strikethrough'
import { gfmTableFromMarkdown, gfmTableToMarkdown } from 'mdast-util-gfm-table'
import { gfmTaskListItemFromMarkdown, gfmTaskListItemToMarkdown } from 'mdast-util-gfm-task-list-item'
import { toMarkdown } from 'mdast-util-to-markdown'
import { gfm } from 'micromark-extension-gfm'
import { gfmFootnote } from 'micromark-extension-gfm-footnote'
import { gfmFootnoteFromMarkdown, gfmFootnoteToMarkdown } from 'mdast-util-gfm-footnote'
import { gfmStrikethrough } from 'micromark-extension-gfm-strikethrough'
import { gfmStrikethroughFromMarkdown, gfmStrikethroughToMarkdown } from 'mdast-util-gfm-strikethrough'
import { gfmTable } from 'micromark-extension-gfm-table'
import { gfmTaskListItem } from 'micromark-extension-gfm-task-list-item'
import { gfmTaskListItemFromMarkdown, gfmTaskListItemToMarkdown } from 'mdast-util-gfm-task-list-item'

/**
* @param {string} md
Expand Down
6 changes: 3 additions & 3 deletions src/check-project/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@

import fs from 'fs'
import path from 'path'
import prompt from 'prompt'
import kleur from 'kleur'
import * as Diff from 'diff'
import { fileURLToPath } from 'url'
import * as Diff from 'diff'
import kleur from 'kleur'
import prompt from 'prompt'

const __dirname = path.dirname(fileURLToPath(import.meta.url))

Expand Down
2 changes: 1 addition & 1 deletion src/clean.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* eslint-disable no-console */

import Listr from 'listr'
import { promisify } from 'util'
import Listr from 'listr'
import rm from 'rimraf'

const rimraf = promisify(rm)
Expand Down
2 changes: 1 addition & 1 deletion src/cmds/build.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { loadUserConfig } from '../config/user.js'
import buildCmd from '../build/index.js'
import { loadUserConfig } from '../config/user.js'

/**
* @typedef {import("yargs").Argv} Argv
Expand Down
6 changes: 3 additions & 3 deletions src/cmds/check.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@
/* eslint-disable max-depth */
/* eslint-disable no-console */

import path from 'path'
import esbuild from 'esbuild'
import fs from 'fs-extra'
import { readPackageUp } from 'read-pkg-up'
import kleur from 'kleur'
import merge from 'merge-options'
import { readPackageUp } from 'read-pkg-up'
import { loadUserConfig } from '../config/user.js'
import path from 'path'
import { fromRoot, paths } from '../utils.js'
import merge from 'merge-options'

const defaults = merge.bind({
ignoreUndefined: true,
Expand Down
4 changes: 2 additions & 2 deletions src/cmds/lint-package-json.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@

import { execa } from 'execa'
import path from 'path'
import { fromAegir, fromRoot } from '../utils.js'
import { fileURLToPath } from 'url'
import { execa } from 'execa'
import { fromAegir, fromRoot } from '../utils.js'

const __dirname = path.dirname(fileURLToPath(import.meta.url))

Expand Down
2 changes: 1 addition & 1 deletion src/cmds/release-rc.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import releaseRcCmd from '../release-rc.js'
import { loadUserConfig } from '../config/user.js'
import releaseRcCmd from '../release-rc.js'

/**
* @typedef {import("yargs").Argv} Argv
Expand Down
2 changes: 1 addition & 1 deletion src/cmds/release.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import releaseCmd from '../release.js'
import { loadUserConfig } from '../config/user.js'
import releaseCmd from '../release.js'

/**
* @typedef {import("yargs").Argv} Argv
Expand Down
2 changes: 1 addition & 1 deletion src/cmds/test.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import kleur from 'kleur'
import { loadUserConfig } from '../config/user.js'
import testCmd from '../test/index.js'
import kleur from 'kleur'

/**
* @typedef {import("yargs").Argv} Argv
Expand Down
2 changes: 1 addition & 1 deletion src/config/user.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/* eslint-disable no-console */

import { pathToFileURL } from 'url'
import { lilconfig } from 'lilconfig'
import merge from 'merge-options'
import { pathToFileURL } from 'url'
import { isTypescript } from '../utils.js'

/**
Expand Down
4 changes: 2 additions & 2 deletions src/dependency-check.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import Listr from 'listr'
import depcheck from 'depcheck'
import { cwd } from 'process'
import depcheck from 'depcheck'
import Listr from 'listr'

const ignoredDevDependencies = [
'@types/*',
Expand Down
10 changes: 5 additions & 5 deletions src/docs.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import { hasTsconfig, fromAegir, fromRoot, readJson, isMonorepoParent } from './utils.js'
import Listr from 'listr'
import fs from 'fs-extra'
import path from 'path'
import { execa } from 'execa'
import { fileURLToPath } from 'url'
import { promisify } from 'util'
import { execa } from 'execa'
import fs from 'fs-extra'
import ghPages from 'gh-pages'
import Listr from 'listr'
import { premove as del } from 'premove/sync'
import { fileURLToPath } from 'url'
import { hasTsconfig, fromAegir, fromRoot, readJson, isMonorepoParent } from './utils.js'

const publishPages = promisify(ghPages.publish)

Expand Down
4 changes: 2 additions & 2 deletions src/document-check.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
/* eslint-disable no-console */

import Listr from 'listr'
import { hasTsconfig } from './utils.js'
import { globby } from 'globby'
import Listr from 'listr'
import { compileSnippets } from 'typescript-docs-verifier'
import { hasTsconfig } from './utils.js'
/**
* @typedef {import("./types").GlobalOptions} GlobalOptions
* @typedef {import("./types").DocsVerifierOptions} DocsVerifierOptions
Expand Down
2 changes: 1 addition & 1 deletion src/exec.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { everyMonorepoProject } from './utils.js'
import { execa } from 'execa'
import kleur from 'kleur'
import { everyMonorepoProject } from './utils.js'

/**
* @typedef {import("./types").GlobalOptions} GlobalOptions
Expand Down
14 changes: 7 additions & 7 deletions src/index.js
Original file line number Diff line number Diff line change
@@ -1,26 +1,26 @@
#! /usr/bin/env node
/* eslint-disable no-console */

import updateNotifier from 'update-notifier'
import { readPackageUpSync } from 'read-pkg-up'
import updateNotifier from 'update-notifier'
import yargs from 'yargs'
import { hideBin } from 'yargs/helpers'
import { loadUserConfig } from './config/user.js'
import buildCmd from './cmds/build.js'
import checkProjectCmd from './cmds/check-project.js'
import checkCmd from './cmds/check.js'
import cleanCmd from './cmds/clean.js'
import dependencyCheckCmd from './cmds/dependency-check.js'
import docsCmd from './cmds/docs.js'
import docVerifyCmd from './cmds/document-check.js'
import execCmd from './cmds/exec.js'
import lintPackageJsonCmd from './cmds/lint-package-json.js'
import lintCmd from './cmds/lint.js'
import releaseCmd from './cmds/release.js'
import releaseRcCmd from './cmds/release-rc.js'
import releaseCmd from './cmds/release.js'
import runCmd from './cmds/run.js'
import testDependantCmd from './cmds/test-dependant.js'
import testCmd from './cmds/test.js'
import docsCmd from './cmds/docs.js'
import docVerifyCmd from './cmds/document-check.js'
import execCmd from './cmds/exec.js'
import runCmd from './cmds/run.js'
import { loadUserConfig } from './config/user.js'

/**
* @typedef {import('./types').BuildOptions} BuildOptions
Expand Down
Loading

0 comments on commit d03ce94

Please sign in to comment.