Use absolute paths in starter kit init file system commands #307
Annotations
9 errors and 6 warnings
lint
@pantheon-systems/pcc-cli#lint: command (/home/runner/work/pantheon-content-cloud-sdk/pantheon-content-cloud-sdk/packages/cli) pnpm run lint exited (1)
|
lint:
packages/cli/src/cli/commands/init.ts#L123
Delete `··`
|
lint:
packages/cli/src/cli/commands/init.ts#L126
Replace `readFileSync(path.join(absoluteDirPath,·"package.json")).toString()` with `⏎····readFileSync(path.join(absoluteDirPath,·"package.json")).toString(),⏎··`
|
lint:
packages/cli/src/cli/commands/init.ts#L136
Replace `path.join(absoluteDirPath,·".eslintrc.json"),·JSON.stringify(ESLINT_CONFIG,·null,·2)` with `⏎······path.join(absoluteDirPath,·".eslintrc.json"),⏎······JSON.stringify(ESLINT_CONFIG,·null,·2),⏎····`
|
lint:
packages/cli/src/cli/commands/init.ts#L139
Replace `path.join(absoluteDirPath,·"package.json"),·JSON.stringify(packageJson,·null,·2)·+·"\n"` with `⏎····path.join(absoluteDirPath,·"package.json"),⏎····JSON.stringify(packageJson,·null,·2)·+·"\n",⏎··`
|
|
lint:
packages/cli/src/cli/commands/init.ts#L155
Delete `··`
|
lint:
packages/cli/src/cli/commands/init.ts#L210
Replace `path.join(absoluteDirPath,·localEnvFileName)` with `⏎······path.join(absoluteDirPath,·localEnvFileName),⏎····`
|
lint
Process completed with exit code 1.
|
lint
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
lint:
packages/cli/src/cli/commands/init.test.ts#L3
'chalk' is defined but never used
|
lint:
packages/cli/src/cli/commands/init.test.ts#L5
'Logger' is defined but never used
|
lint:
packages/vue-sdk/src/shims.d.ts#L3
Unexpected any. Specify a different type
|
lint:
packages/vue-sdk/src/shims.d.ts#L3
Unexpected any. Specify a different type
|
lint:
packages/vue-sdk/src/shims.d.ts#L3
Unexpected any. Specify a different type
|