Skip to content

Instantly share code, notes, and snippets.

@samsiegart
Created April 20, 2023 18:28
Show Gist options
  • Save samsiegart/cee3e57ed41dee3643d80084247d0666 to your computer and use it in GitHub Desktop.
Save samsiegart/cee3e57ed41dee3643d80084247d0666 to your computer and use it in GitHub Desktop.
eslintrc:cascading-config-array-factory Load config files for /Users/samuelsiegart/agoric-sdk/packages/SwingSet/misc-tools. +50s
eslintrc:cascading-config-array-factory Cache hit: /Users/samuelsiegart/agoric-sdk/packages/SwingSet/misc-tools. +0ms
eslint:cli-engine Lint /Users/samuelsiegart/agoric-sdk/packages/SwingSet/misc-tools/db-dump.js +50s
eslint:linter Linting code for /Users/samuelsiegart/agoric-sdk/packages/SwingSet/misc-tools/db-dump.js (pass 1) +1ms
eslint:linter Verify +0ms
eslint:linter With ConfigArray: /Users/samuelsiegart/agoric-sdk/packages/SwingSet/misc-tools/db-dump.js +0ms
eslint:linter Apply the processor: '@jessie.js/use-jessie' +0ms
eslint:linter A code block was found: '(unnamed)' +0ms
eslint:linter Parsing: /Users/samuelsiegart/agoric-sdk/packages/SwingSet/misc-tools/db-dump.js +0ms
eslint:linter Parsing error: ESLint was configured to run on `<tsconfigRootDir>/packages/SwingSet/misc-tools/db-dump.js` using `parserOptions.project`:
- /users/samuelsiegart/agoric-sdk/tsconfig.json
- /users/samuelsiegart/agoric-sdk/packages/ertp/jsconfig.json
- /users/samuelsiegart/agoric-sdk/packages/swingset/jsconfig.json
- /users/samuelsiegart/agoric-sdk/packages/access-token/jsconfig.json
- /users/samuelsiegart/agoric-sdk/packages/agoric-cli/jsconfig.json
- /users/samuelsiegart/agoric-sdk/packages/assert/jsconfig.json
- /users/samuelsiegart/agoric-sdk/packages/cache/jsconfig.json
- /users/samuelsiegart/agoric-sdk/packages/casting/jsconfig.json
- /users/samuelsiegart/agoric-sdk/packages/cosmic-swingset/jsconfig.json
- /users/samuelsiegart/agoric-sdk/packages/deploy-script-support/jsconfig.json
- /users/samuelsiegart/agoric-sdk/packages/deployment/jsconfig.json
- /users/samuelsiegart/agoric-sdk/packages/governance/jsconfig.json
- /users/samuelsiegart/agoric-sdk/packages/import-manager/jsconfig.json
- /users/samuelsiegart/agoric-sdk/packages/inter-protocol/jsconfig.json
- /users/samuelsiegart/agoric-sdk/packages/internal/jsconfig.json
- /users/samuelsiegart/agoric-sdk/packages/notifier/jsconfig.json
- /users/samuelsiegart/agoric-sdk/packages/pegasus/jsconfig.json
- /users/samuelsiegart/agoric-sdk/packages/same-structure/jsconfig.json
- /users/samuelsiegart/agoric-sdk/packages/sharing-service/jsconfig.json
- /users/samuelsiegart/agoric-sdk/packages/smart-wallet/jsconfig.json
- /users/samuelsiegart/agoric-sdk/packages/solo/jsconfig.json
- /users/samuelsiegart/agoric-sdk/packages/sparse-ints/jsconfig.json
- /users/samuelsiegart/agoric-sdk/packages/spawner/jsconfig.json
- /users/samuelsiegart/agoric-sdk/packages/stat-logger/jsconfig.json
- /users/samuelsiegart/agoric-sdk/packages/store/jsconfig.json
- /users/samuelsiegart/agoric-sdk/packages/swing-store/jsconfig.json
- /users/samuelsiegart/agoric-sdk/packages/swingset-liveslots/jsconfig.json
- /users/samuelsiegart/agoric-sdk/packages/swingset-runner/jsconfig.json
- /users/samuelsiegart/agoric-sdk/packages/swingset-xsnap-supervisor/jsconfig.json
- /users/samuelsiegart/agoric-sdk/packages/telemetry/jsconfig.json
- /users/samuelsiegart/agoric-sdk/packages/time/jsconfig.json
- /users/samuelsiegart/agoric-sdk/packages/ui-components/jsconfig.json
- /users/samuelsiegart/agoric-sdk/packages/vats/jsconfig.json
- /users/samuelsiegart/agoric-sdk/packages/web-components/jsconfig.json
- /users/samuelsiegart/agoric-sdk/packages/xsnap/jsconfig.json
- /users/samuelsiegart/agoric-sdk/packages/xsnap-lockdown/jsconfig.json
- /users/samuelsiegart/agoric-sdk/packages/zoe/jsconfig.json
- /users/samuelsiegart/agoric-sdk/packages/zone/jsconfig.json
- /users/samuelsiegart/agoric-sdk/packages/cosmic-proto/tsconfig.json
- /users/samuelsiegart/agoric-sdk/packages/vat-data/tsconfig.json
- /users/samuelsiegart/agoric-sdk/packages/wallet/api/jsconfig.json
You unnecessarily included the extension `.cjs` with the `parserOptions.extraFileExtensions` option. This extension is already handled by the parser by default.
However, none of those TSConfigs include this file. Either:
- Change ESLint's list of included files to not include this file
- Change one of those TSConfigs to include this file
- Create a new TSConfig that includes this file and include it in your parserOptions.project
See the typescript-eslint docs for more info: https://typescript-eslint.io/linting/troubleshooting#i-get-errors-telling-me-eslint-was-configured-to-run--however-that-tsconfig-does-not--none-of-those-tsconfigs-include-this-file
eslint:linter Error: ESLint was configured to run on `<tsconfigRootDir>/packages/SwingSet/misc-tools/db-dump.js` using `parserOptions.project`:
- /users/samuelsiegart/agoric-sdk/tsconfig.json
- /users/samuelsiegart/agoric-sdk/packages/ertp/jsconfig.json
- /users/samuelsiegart/agoric-sdk/packages/swingset/jsconfig.json
- /users/samuelsiegart/agoric-sdk/packages/access-token/jsconfig.json
- /users/samuelsiegart/agoric-sdk/packages/agoric-cli/jsconfig.json
- /users/samuelsiegart/agoric-sdk/packages/assert/jsconfig.json
- /users/samuelsiegart/agoric-sdk/packages/cache/jsconfig.json
- /users/samuelsiegart/agoric-sdk/packages/casting/jsconfig.json
- /users/samuelsiegart/agoric-sdk/packages/cosmic-swingset/jsconfig.json
- /users/samuelsiegart/agoric-sdk/packages/deploy-script-support/jsconfig.json
- /users/samuelsiegart/agoric-sdk/packages/deployment/jsconfig.json
- /users/samuelsiegart/agoric-sdk/packages/governance/jsconfig.json
- /users/samuelsiegart/agoric-sdk/packages/import-manager/jsconfig.json
- /users/samuelsiegart/agoric-sdk/packages/inter-protocol/jsconfig.json
- /users/samuelsiegart/agoric-sdk/packages/internal/jsconfig.json
- /users/samuelsiegart/agoric-sdk/packages/notifier/jsconfig.json
- /users/samuelsiegart/agoric-sdk/packages/pegasus/jsconfig.json
- /users/samuelsiegart/agoric-sdk/packages/same-structure/jsconfig.json
- /users/samuelsiegart/agoric-sdk/packages/sharing-service/jsconfig.json
- /users/samuelsiegart/agoric-sdk/packages/smart-wallet/jsconfig.json
- /users/samuelsiegart/agoric-sdk/packages/solo/jsconfig.json
- /users/samuelsiegart/agoric-sdk/packages/sparse-ints/jsconfig.json
- /users/samuelsiegart/agoric-sdk/packages/spawner/jsconfig.json
- /users/samuelsiegart/agoric-sdk/packages/stat-logger/jsconfig.json
- /users/samuelsiegart/agoric-sdk/packages/store/jsconfig.json
- /users/samuelsiegart/agoric-sdk/packages/swing-store/jsconfig.json
- /users/samuelsiegart/agoric-sdk/packages/swingset-liveslots/jsconfig.json
- /users/samuelsiegart/agoric-sdk/packages/swingset-runner/jsconfig.json
- /users/samuelsiegart/agoric-sdk/packages/swingset-xsnap-supervisor/jsconfig.json
- /users/samuelsiegart/agoric-sdk/packages/telemetry/jsconfig.json
- /users/samuelsiegart/agoric-sdk/packages/time/jsconfig.json
- /users/samuelsiegart/agoric-sdk/packages/ui-components/jsconfig.json
- /users/samuelsiegart/agoric-sdk/packages/vats/jsconfig.json
- /users/samuelsiegart/agoric-sdk/packages/web-components/jsconfig.json
- /users/samuelsiegart/agoric-sdk/packages/xsnap/jsconfig.json
- /users/samuelsiegart/agoric-sdk/packages/xsnap-lockdown/jsconfig.json
- /users/samuelsiegart/agoric-sdk/packages/zoe/jsconfig.json
- /users/samuelsiegart/agoric-sdk/packages/zone/jsconfig.json
- /users/samuelsiegart/agoric-sdk/packages/cosmic-proto/tsconfig.json
- /users/samuelsiegart/agoric-sdk/packages/vat-data/tsconfig.json
- /users/samuelsiegart/agoric-sdk/packages/wallet/api/jsconfig.json
You unnecessarily included the extension `.cjs` with the `parserOptions.extraFileExtensions` option. This extension is already handled by the parser by default.
However, none of those TSConfigs include this file. Either:
- Change ESLint's list of included files to not include this file
- Change one of those TSConfigs to include this file
- Create a new TSConfig that includes this file and include it in your parserOptions.project
See the typescript-eslint docs for more info: https://typescript-eslint.io/linting/troubleshooting#i-get-errors-telling-me-eslint-was-configured-to-run--however-that-tsconfig-does-not--none-of-those-tsconfigs-include-this-file
at createProjectProgram (/Users/samuelsiegart/agoric-sdk/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectProgram.js:99:11)
at getProgramAndAST (/Users/samuelsiegart/agoric-sdk/node_modules/@typescript-eslint/typescript-estree/dist/parser.js:36:89)
at parseAndGenerateServices (/Users/samuelsiegart/agoric-sdk/node_modules/@typescript-eslint/typescript-estree/dist/parser.js:140:11)
at Object.parseForESLint (/Users/samuelsiegart/agoric-sdk/node_modules/@typescript-eslint/parser/dist/parser.js:90:80)
at parse (/Users/samuelsiegart/agoric-sdk/node_modules/eslint/lib/linter/linter.js:809:22)
at Linter._verifyWithoutProcessors (/Users/samuelsiegart/agoric-sdk/node_modules/eslint/lib/linter/linter.js:1352:33)
at /Users/samuelsiegart/agoric-sdk/node_modules/eslint/lib/linter/linter.js:1876:29
at Array.map (<anonymous>)
at Linter._verifyWithProcessor (/Users/samuelsiegart/agoric-sdk/node_modules/eslint/lib/linter/linter.js:1871:37)
at Linter._verifyWithConfigArray (/Users/samuelsiegart/agoric-sdk/node_modules/eslint/lib/linter/linter.js:1765:25) +50s
eslint:linter Generating fixed text for /Users/samuelsiegart/agoric-sdk/packages/SwingSet/misc-tools/db-dump.js (pass 1) +0ms
eslint:source-code-fixer Applying fixes +50s
eslint:source-code-fixer shouldFix parameter was false, not attempting fixes +0ms
eslintrc:ignore-pattern Check {
filePath: '/Users/samuelsiegart/agoric-sdk/packages/SwingSet/misc-tools/db-get.js',
dot: false,
relativePath: 'packages/SwingSet/misc-tools/db-get.js',
result: false
} +50s
eslint:file-enumerator Yield: db-get.js +50s
eslintrc:cascading-config-array-factory Load config files for /Users/samuelsiegart/agoric-sdk/packages/SwingSet/misc-tools. +50s
eslintrc:cascading-config-array-factory Cache hit: /Users/samuelsiegart/agoric-sdk/packages/SwingSet/misc-tools. +0ms
eslint:cli-engine Lint /Users/samuelsiegart/agoric-sdk/packages/SwingSet/misc-tools/db-get.js +50s
eslint:linter Linting code for /Users/samuelsiegart/agoric-sdk/packages/SwingSet/misc-tools/db-get.js (pass 1) +2ms
eslint:linter Verify +0ms
eslint:linter With ConfigArray: /Users/samuelsiegart/agoric-sdk/packages/SwingSet/misc-tools/db-get.js +0ms
eslint:linter Apply the processor: '@jessie.js/use-jessie' +0ms
eslint:linter A code block was found: '(unnamed)' +0ms
eslint:linter Parsing: /Users/samuelsiegart/agoric-sdk/packages/SwingSet/misc-tools/db-get.js +0ms
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment