Configuration Migration of ESLint configuration file from the eslintrc format to the new flat config format #1156
lint-pull-requests.yml
on: pull_request_target
Run linters for pull requests
1m 6s
Annotations
41 errors and 11 warnings
eslint.config.js#L1
There should be no space after '{' (object-curly-spacing)
|
eslint.config.js#L1
There should be no space before '}' (object-curly-spacing)
|
eslint.config.js#L1
Expected "import" instead of "require()" (import/no-commonjs)
|
eslint.config.js#L1
Require statement not part of import statement (@typescript-eslint/no-var-requires)
|
eslint.config.js#L1
Strings must use singlequote (quotes)
|
eslint.config.js#L1
"@eslint/eslintrc" is not published (node/no-unpublished-require)
|
eslint.config.js#L2
Expected "import" instead of "require()" (import/no-commonjs)
|
eslint.config.js#L2
Require statement not part of import statement (@typescript-eslint/no-var-requires)
|
eslint.config.js#L2
Strings must use singlequote (quotes)
|
eslint.config.js#L2
"eslint-plugin-react" is not published (node/no-unpublished-require)
|
eslint.config.js#L3
Expected "import" instead of "require()" (import/no-commonjs)
|
eslint.config.js#L3
Require statement not part of import statement (@typescript-eslint/no-var-requires)
|
eslint.config.js#L3
Strings must use singlequote (quotes)
|
eslint.config.js#L3
"eslint-plugin-import" is not published (node/no-unpublished-require)
|
eslint.config.js#L4
Expected "import" instead of "require()" (import/no-commonjs)
|
eslint.config.js#L4
Require statement not part of import statement (@typescript-eslint/no-var-requires)
|
eslint.config.js#L4
Strings must use singlequote (quotes)
|
eslint.config.js#L4
"eslint-plugin-node" is not published (node/no-unpublished-require)
|
eslint.config.js#L5
Expected "import" instead of "require()" (import/no-commonjs)
|
eslint.config.js#L5
Require statement not part of import statement (@typescript-eslint/no-var-requires)
|
eslint.config.js#L5
Strings must use singlequote (quotes)
|
eslint.config.js#L5
"@typescript-eslint/eslint-plugin" is not published (node/no-unpublished-require)
|
eslint.config.js#L9
Unexpected trailing comma (comma-dangle)
|
eslint.config.js#L121
Strings must use singlequote (quotes)
|
eslint.config.js#L121
Unexpected trailing comma (comma-dangle)
|
eslint.config.js#L125
Strings must use singlequote (quotes)
|
eslint.config.js#L126
Strings must use singlequote (quotes)
|
eslint.config.js#L127
Strings must use singlequote (quotes)
|
eslint.config.js#L128
Strings must use singlequote (quotes)
|
eslint.config.js#L129
Strings must use singlequote (quotes)
|
eslint.config.js#L129
Unexpected trailing comma (comma-dangle)
|
eslint.config.js#L133
Strings must use singlequote (quotes)
|
eslint.config.js#L133
Strings must use singlequote (quotes)
|
eslint.config.js#L133
Strings must use singlequote (quotes)
|
eslint.config.js#L133
Strings must use singlequote (quotes)
|
eslint.config.js#L133
Strings must use singlequote (quotes)
|
eslint.config.js#L134
Strings must use singlequote (quotes)
|
eslint.config.js#L135
Strings must use singlequote (quotes)
|
eslint.config.js#L136
Strings must use singlequote (quotes)
|
eslint.config.js#L138
There should be no space after '{' (object-curly-spacing)
|
eslint.config.js#L138
Strings must use singlequote (quotes)
|
eslint.config.js#L5
Expected 2 empty lines after require statement not followed by another require (import/newline-after-import)
|
eslint.config.js#L7
'compat' is assigned a value but never used (@typescript-eslint/no-unused-vars)
|
eslint.config.js#L14
Unexpected comment inline with code (no-inline-comments)
|
eslint.config.js#L15
Unexpected comment inline with code (no-inline-comments)
|
eslint.config.js#L16
Unexpected comment inline with code (no-inline-comments)
|
src/client/components/pages/revision.js#L177
Unexpected 'todo' comment: 'TODO: Add proper error handling.' (no-warning-comments)
|
src/client/entity-editor/common/entity-search-field-option.js#L129
'props' is defined but never used (@typescript-eslint/no-unused-vars)
|
src/server/helpers/collectionRouteUtils.js#L22
'log' is defined but never used (@typescript-eslint/no-unused-vars)
|
src/server/routes/register.js#L22
'handler' is defined but never used (@typescript-eslint/no-unused-vars)
|
Run linters for pull requests
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, wearerequired/lint-action@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Run linters for pull requests
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, wearerequired/lint-action@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|