Merge pull request #60 from WordPress/feature/add-linting #6
pull-request-actions.yml
on: push
PHP Files
14s
Javascript, CSS, and package.json
32s
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 `↹`
|