Skip to content

Merge pull request #60 from WordPress/feature/add-linting #6

Merge pull request #60 from WordPress/feature/add-linting

Merge pull request #60 from WordPress/feature/add-linting #6

Triggered via push November 13, 2023 19:01
Status Failure
Total duration 43s
Artifacts
PHP Files
14s
PHP Files
Javascript, CSS, and package.json
32s
Javascript, CSS, and package.json
Fit to window
Zoom out
Zoom in

Annotations

11 errors
PHP Files
Process completed with exit code 2.
Javascript, CSS, and package.json: bin/addExamplesPerTagReadme.js#L1
Replace `"path"` with `·'path'·`
Javascript, CSS, and package.json: bin/addExamplesPerTagReadme.js#L2
Replace `"fs"` with `·'fs'·`
Javascript, CSS, and package.json: bin/addExamplesPerTagReadme.js#L5
Replace `rootPath,·"data/examples.json"` with `·rootPath,·'data/examples.json'·`
Javascript, CSS, and package.json: bin/addExamplesPerTagReadme.js#L6
Replace `rootPath,·"data/tags.json"` with `·rootPath,·'data/tags.json'·`
Javascript, CSS, and package.json: bin/addExamplesPerTagReadme.js#L7
Replace `rootPath,·"README.md"` with `·rootPath,·'README.md'·`
Javascript, CSS, and package.json: bin/addExamplesPerTagReadme.js#L9
Replace `fs.readFileSync(examplesJsonPath,·"utf8")` with `·fs.readFileSync(·examplesJsonPath,·'utf8'·)·`
Javascript, CSS, and package.json: bin/addExamplesPerTagReadme.js#L10
Replace `fs.readFileSync(tagsJsonPath,·"utf8")` with `·fs.readFileSync(·tagsJsonPath,·'utf8'·)·`
Javascript, CSS, and package.json: bin/addExamplesPerTagReadme.js#L12
Replace `(acc,·{·slug·})·=>·{·` with `·(·acc,·{·slug·}·)·=>·{`
Javascript, CSS, and package.json: bin/addExamplesPerTagReadme.js#L13
Replace `····acc[slug]·=·examplesJson.filter(({·tags·})·=>·tags.includes(slug)` with `↹acc[·slug·]·=·examplesJson.filter(·(·{·tags·}·)·=>·tags.includes(·slug·)·`
Javascript, CSS, and package.json: bin/addExamplesPerTagReadme.js#L14
Replace `····` with `↹`