mirror of
https://github.com/golangci/golangci-lint-action.git
synced 2026-02-22 23:51:49 +00:00
build(deps-dev): bump the dev-dependencies group across 1 directory with 3 updates (#1344)
Some checks failed
build-and-test / test-go-mod (ubuntu-latest, fixtures/go-tool) (push) Has been cancelled
build-and-test / test-plugins (macos-latest, latest) (push) Has been cancelled
build-and-test / test-plugins (macos-latest, v2.7) (push) Has been cancelled
build-and-test / test (ubuntu-22.04-arm, v2.7) (push) Has been cancelled
build-and-test / test (windows-latest, ) (push) Has been cancelled
build-and-test / test-go-install (windows-latest, v2.7.2) (push) Has been cancelled
build-and-test / test-go-mod (macos-latest, fixtures/go-mod) (push) Has been cancelled
build-and-test / test-go-mod (macos-latest, fixtures/go-tool) (push) Has been cancelled
build-and-test / test-plugins (ubuntu-22.04-arm, v2.7.2) (push) Has been cancelled
build-and-test / test (ubuntu-22.04-arm, latest) (push) Has been cancelled
build-and-test / test (ubuntu-22.04-arm, v2.7.2) (push) Has been cancelled
build-and-test / test (ubuntu-latest, ) (push) Has been cancelled
build-and-test / test (ubuntu-latest, latest) (push) Has been cancelled
build-and-test / test-go-install (ubuntu-22.04-arm, 655e8ede5178280b2a640e185bc4a343aed0f54e) (push) Has been cancelled
build-and-test / test-plugins (ubuntu-latest, ) (push) Has been cancelled
build-and-test / test-go-install (windows-latest, ) (push) Has been cancelled
Code Scanning - Action / codeQL (push) Has been cancelled
build-and-test / build (push) Has been cancelled
build-and-test / test (macos-latest, ) (push) Has been cancelled
build-and-test / test (macos-latest, latest) (push) Has been cancelled
build-and-test / test (macos-latest, v2.7) (push) Has been cancelled
build-and-test / test (macos-latest, v2.7.2) (push) Has been cancelled
build-and-test / test (ubuntu-22.04-arm, ) (push) Has been cancelled
build-and-test / test-plugins (ubuntu-latest, v2.7.2) (push) Has been cancelled
build-and-test / test-plugins (windows-latest, ) (push) Has been cancelled
build-and-test / test (ubuntu-latest, v2.7) (push) Has been cancelled
build-and-test / test (windows-latest, latest) (push) Has been cancelled
build-and-test / test-go-install (macos-latest, ) (push) Has been cancelled
build-and-test / test-go-install (macos-latest, 655e8ede5178280b2a640e185bc4a343aed0f54e) (push) Has been cancelled
build-and-test / test-go-install (macos-latest, latest) (push) Has been cancelled
build-and-test / test (ubuntu-latest, v2.7.2) (push) Has been cancelled
build-and-test / test (windows-latest, v2.7) (push) Has been cancelled
build-and-test / test (windows-latest, v2.7.2) (push) Has been cancelled
build-and-test / test-go-install (macos-latest, v2.7.2) (push) Has been cancelled
build-and-test / test-go-install (ubuntu-22.04-arm, ) (push) Has been cancelled
build-and-test / test-plugins (ubuntu-22.04-arm, v2.7) (push) Has been cancelled
build-and-test / test-plugins (windows-latest, v2.7.2) (push) Has been cancelled
build-and-test / test-monorepo (macos-latest) (push) Has been cancelled
build-and-test / test-monorepo (ubuntu-latest) (push) Has been cancelled
build-and-test / test-go-install (ubuntu-22.04-arm, latest) (push) Has been cancelled
build-and-test / test-go-install (ubuntu-22.04-arm, v2.7.2) (push) Has been cancelled
build-and-test / test-go-install (ubuntu-latest, ) (push) Has been cancelled
build-and-test / test-go-install (ubuntu-latest, latest) (push) Has been cancelled
build-and-test / test-go-install (windows-latest, 655e8ede5178280b2a640e185bc4a343aed0f54e) (push) Has been cancelled
build-and-test / test-go-install (windows-latest, latest) (push) Has been cancelled
build-and-test / test-go-mod (ubuntu-22.04-arm, fixtures/go-mod) (push) Has been cancelled
build-and-test / test-plugins (ubuntu-22.04-arm, latest) (push) Has been cancelled
build-and-test / test-plugins (ubuntu-latest, latest) (push) Has been cancelled
build-and-test / test-go-install (ubuntu-latest, 655e8ede5178280b2a640e185bc4a343aed0f54e) (push) Has been cancelled
build-and-test / test-go-install (ubuntu-latest, v2.7.2) (push) Has been cancelled
build-and-test / test-plugins (windows-latest, latest) (push) Has been cancelled
build-and-test / test-go-mod (ubuntu-22.04-arm, fixtures/go-tool) (push) Has been cancelled
build-and-test / test-go-mod (ubuntu-latest, fixtures/go-mod) (push) Has been cancelled
build-and-test / test-go-mod (windows-latest, fixtures/go-mod) (push) Has been cancelled
build-and-test / test-plugins (macos-latest, ) (push) Has been cancelled
build-and-test / test-go-mod (windows-latest, fixtures/go-tool) (push) Has been cancelled
build-and-test / test-plugins (macos-latest, v2.7.2) (push) Has been cancelled
build-and-test / test-plugins (ubuntu-22.04-arm, ) (push) Has been cancelled
build-and-test / test-plugins (ubuntu-latest, v2.7) (push) Has been cancelled
build-and-test / test-plugins (windows-latest, v2.7) (push) Has been cancelled
build-and-test / test-monorepo (ubuntu-22.04-arm) (push) Has been cancelled
build-and-test / test-monorepo (windows-latest) (push) Has been cancelled
Some checks failed
build-and-test / test-go-mod (ubuntu-latest, fixtures/go-tool) (push) Has been cancelled
build-and-test / test-plugins (macos-latest, latest) (push) Has been cancelled
build-and-test / test-plugins (macos-latest, v2.7) (push) Has been cancelled
build-and-test / test (ubuntu-22.04-arm, v2.7) (push) Has been cancelled
build-and-test / test (windows-latest, ) (push) Has been cancelled
build-and-test / test-go-install (windows-latest, v2.7.2) (push) Has been cancelled
build-and-test / test-go-mod (macos-latest, fixtures/go-mod) (push) Has been cancelled
build-and-test / test-go-mod (macos-latest, fixtures/go-tool) (push) Has been cancelled
build-and-test / test-plugins (ubuntu-22.04-arm, v2.7.2) (push) Has been cancelled
build-and-test / test (ubuntu-22.04-arm, latest) (push) Has been cancelled
build-and-test / test (ubuntu-22.04-arm, v2.7.2) (push) Has been cancelled
build-and-test / test (ubuntu-latest, ) (push) Has been cancelled
build-and-test / test (ubuntu-latest, latest) (push) Has been cancelled
build-and-test / test-go-install (ubuntu-22.04-arm, 655e8ede5178280b2a640e185bc4a343aed0f54e) (push) Has been cancelled
build-and-test / test-plugins (ubuntu-latest, ) (push) Has been cancelled
build-and-test / test-go-install (windows-latest, ) (push) Has been cancelled
Code Scanning - Action / codeQL (push) Has been cancelled
build-and-test / build (push) Has been cancelled
build-and-test / test (macos-latest, ) (push) Has been cancelled
build-and-test / test (macos-latest, latest) (push) Has been cancelled
build-and-test / test (macos-latest, v2.7) (push) Has been cancelled
build-and-test / test (macos-latest, v2.7.2) (push) Has been cancelled
build-and-test / test (ubuntu-22.04-arm, ) (push) Has been cancelled
build-and-test / test-plugins (ubuntu-latest, v2.7.2) (push) Has been cancelled
build-and-test / test-plugins (windows-latest, ) (push) Has been cancelled
build-and-test / test (ubuntu-latest, v2.7) (push) Has been cancelled
build-and-test / test (windows-latest, latest) (push) Has been cancelled
build-and-test / test-go-install (macos-latest, ) (push) Has been cancelled
build-and-test / test-go-install (macos-latest, 655e8ede5178280b2a640e185bc4a343aed0f54e) (push) Has been cancelled
build-and-test / test-go-install (macos-latest, latest) (push) Has been cancelled
build-and-test / test (ubuntu-latest, v2.7.2) (push) Has been cancelled
build-and-test / test (windows-latest, v2.7) (push) Has been cancelled
build-and-test / test (windows-latest, v2.7.2) (push) Has been cancelled
build-and-test / test-go-install (macos-latest, v2.7.2) (push) Has been cancelled
build-and-test / test-go-install (ubuntu-22.04-arm, ) (push) Has been cancelled
build-and-test / test-plugins (ubuntu-22.04-arm, v2.7) (push) Has been cancelled
build-and-test / test-plugins (windows-latest, v2.7.2) (push) Has been cancelled
build-and-test / test-monorepo (macos-latest) (push) Has been cancelled
build-and-test / test-monorepo (ubuntu-latest) (push) Has been cancelled
build-and-test / test-go-install (ubuntu-22.04-arm, latest) (push) Has been cancelled
build-and-test / test-go-install (ubuntu-22.04-arm, v2.7.2) (push) Has been cancelled
build-and-test / test-go-install (ubuntu-latest, ) (push) Has been cancelled
build-and-test / test-go-install (ubuntu-latest, latest) (push) Has been cancelled
build-and-test / test-go-install (windows-latest, 655e8ede5178280b2a640e185bc4a343aed0f54e) (push) Has been cancelled
build-and-test / test-go-install (windows-latest, latest) (push) Has been cancelled
build-and-test / test-go-mod (ubuntu-22.04-arm, fixtures/go-mod) (push) Has been cancelled
build-and-test / test-plugins (ubuntu-22.04-arm, latest) (push) Has been cancelled
build-and-test / test-plugins (ubuntu-latest, latest) (push) Has been cancelled
build-and-test / test-go-install (ubuntu-latest, 655e8ede5178280b2a640e185bc4a343aed0f54e) (push) Has been cancelled
build-and-test / test-go-install (ubuntu-latest, v2.7.2) (push) Has been cancelled
build-and-test / test-plugins (windows-latest, latest) (push) Has been cancelled
build-and-test / test-go-mod (ubuntu-22.04-arm, fixtures/go-tool) (push) Has been cancelled
build-and-test / test-go-mod (ubuntu-latest, fixtures/go-mod) (push) Has been cancelled
build-and-test / test-go-mod (windows-latest, fixtures/go-mod) (push) Has been cancelled
build-and-test / test-plugins (macos-latest, ) (push) Has been cancelled
build-and-test / test-go-mod (windows-latest, fixtures/go-tool) (push) Has been cancelled
build-and-test / test-plugins (macos-latest, v2.7.2) (push) Has been cancelled
build-and-test / test-plugins (ubuntu-22.04-arm, ) (push) Has been cancelled
build-and-test / test-plugins (ubuntu-latest, v2.7) (push) Has been cancelled
build-and-test / test-plugins (windows-latest, v2.7) (push) Has been cancelled
build-and-test / test-monorepo (ubuntu-22.04-arm) (push) Has been cancelled
build-and-test / test-monorepo (windows-latest) (push) Has been cancelled
Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
This commit is contained in:
parent
b62bd5d234
commit
fce8c98977
4 changed files with 538 additions and 498 deletions
|
|
@ -6,7 +6,7 @@
|
|||
"parser": "@typescript-eslint/parser",
|
||||
"parserOptions": {
|
||||
"ecmaVersion": 2020,
|
||||
"sourceType": "module"
|
||||
"sourceType": "commonjs"
|
||||
},
|
||||
"extends": [
|
||||
"eslint:recommended",
|
||||
|
|
|
|||
55
eslint.config.mjs
Normal file
55
eslint.config.mjs
Normal file
|
|
@ -0,0 +1,55 @@
|
|||
import { defineConfig } from "eslint/config";
|
||||
import { fixupConfigRules, fixupPluginRules } from "@eslint/compat";
|
||||
import typescriptEslint from "@typescript-eslint/eslint-plugin";
|
||||
import simpleImportSort from "eslint-plugin-simple-import-sort";
|
||||
import globals from "globals";
|
||||
import tsParser from "@typescript-eslint/parser";
|
||||
import path from "node:path";
|
||||
import { fileURLToPath } from "node:url";
|
||||
import js from "@eslint/js";
|
||||
import { FlatCompat } from "@eslint/eslintrc";
|
||||
|
||||
const __filename = fileURLToPath(import.meta.url);
|
||||
const __dirname = path.dirname(__filename);
|
||||
const compat = new FlatCompat({
|
||||
baseDirectory: __dirname,
|
||||
recommendedConfig: js.configs.recommended,
|
||||
allConfig: js.configs.all
|
||||
});
|
||||
|
||||
export default defineConfig([{
|
||||
extends: fixupConfigRules(compat.extends(
|
||||
"eslint:recommended",
|
||||
"plugin:@typescript-eslint/eslint-recommended",
|
||||
"plugin:@typescript-eslint/recommended",
|
||||
"plugin:import/errors",
|
||||
"plugin:import/warnings",
|
||||
"plugin:import/typescript",
|
||||
"plugin:prettier/recommended",
|
||||
)),
|
||||
|
||||
plugins: {
|
||||
"@typescript-eslint": fixupPluginRules(typescriptEslint),
|
||||
"simple-import-sort": simpleImportSort,
|
||||
},
|
||||
|
||||
languageOptions: {
|
||||
globals: {
|
||||
...globals.node,
|
||||
...globals.jest,
|
||||
},
|
||||
|
||||
parser: tsParser,
|
||||
ecmaVersion: 2020,
|
||||
sourceType: "commonjs",
|
||||
},
|
||||
|
||||
rules: {
|
||||
"import/first": "error",
|
||||
"import/newline-after-import": "error",
|
||||
"import/no-duplicates": "error",
|
||||
"simple-import-sort/imports": "error",
|
||||
"simple-import-sort/exports": "error",
|
||||
"sort-imports": "off",
|
||||
},
|
||||
}]);
|
||||
969
package-lock.json
generated
969
package-lock.json
generated
File diff suppressed because it is too large
Load diff
10
package.json
10
package.json
|
|
@ -32,8 +32,8 @@
|
|||
"@actions/exec": "^2.0.0",
|
||||
"@actions/github": "^7.0.0",
|
||||
"@actions/http-client": "^3.0.0",
|
||||
"@octokit/plugin-retry": "^6.1.0",
|
||||
"@actions/tool-cache": "^3.0.0",
|
||||
"@octokit/plugin-retry": "^6.1.0",
|
||||
"@types/node": "^25.0.10",
|
||||
"@types/semver": "^7.7.1",
|
||||
"@types/tmp": "^0.2.6",
|
||||
|
|
@ -43,14 +43,18 @@
|
|||
"yaml": "^2.8.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@typescript-eslint/eslint-plugin": "^8.54.0",
|
||||
"@eslint/compat": "^2.0.2",
|
||||
"@eslint/eslintrc": "^3.3.3",
|
||||
"@eslint/js": "^9.39.2",
|
||||
"@typescript-eslint/eslint-plugin": "^8.55.0",
|
||||
"@typescript-eslint/parser": "^8.32.1",
|
||||
"@vercel/ncc": "^0.38.4",
|
||||
"eslint": "^8.57.1",
|
||||
"eslint": "^9.39.2",
|
||||
"eslint-config-prettier": "^10.1.8",
|
||||
"eslint-plugin-import": "^2.32.0",
|
||||
"eslint-plugin-prettier": "^5.5.5",
|
||||
"eslint-plugin-simple-import-sort": "^12.1.1",
|
||||
"globals": "^17.3.0",
|
||||
"prettier": "^3.8.1",
|
||||
"typescript": "^5.9.3"
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue