diff --git a/.github/workflows/linter.yml b/.github/workflows/linter.yml index 7f89ec5..ca4f25f 100644 --- a/.github/workflows/linter.yml +++ b/.github/workflows/linter.yml @@ -42,16 +42,20 @@ jobs: - name: Lint Codebase id: super-linter - uses: super-linter/super-linter/slim@12150456a73e248bdc94d0794898f94e23127c88 # v7 + uses: super-linter/super-linter/slim@7bba2eeb89d01dc9bfd93c497477a57e72c83240 # v7 env: DEFAULT_BRANCH: main - FILTER_REGEX_EXCLUDE: dist/**/* + FILTER_REGEX_EXCLUDE: (dist/.*|node_modules/.*) GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} LINTER_RULES_PATH: ${{ github.workspace }} VALIDATE_ALL_CODEBASE: true + VALIDATE_BIOME_FORMAT: false + VALIDATE_BIOME_LINT: false + VALIDATE_GITHUB_ACTIONS_ZIZMOR: false VALIDATE_JAVASCRIPT_ES: false VALIDATE_JAVASCRIPT_STANDARD: false VALIDATE_JSCPD: false + VALIDATE_TRIVY: false VALIDATE_TYPESCRIPT_ES: false VALIDATE_JSON: false VALIDATE_TYPESCRIPT_STANDARD: false diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 7e3dd35..36ce2ab 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -14,7 +14,8 @@ project. - Before starting to contribute to the code, you must first sign the [Contributor License Agreement (CLA)](https://github.com/InditexTech/foss/blob/main/documents/CLA.pdf). Detailed - instructions on how to proceed can be found [here](https://github.com/InditexTech/foss/blob/main/CONTRIBUTING.md). + instructions on how to proceed can be found in the + [FOSS contributing guidelines](https://github.com/InditexTech/foss/blob/main/CONTRIBUTING.md). ## How to Contribute diff --git a/REUSE.toml b/REUSE.toml index d7ce663..bfd4650 100644 --- a/REUSE.toml +++ b/REUSE.toml @@ -15,6 +15,7 @@ path = [ ".prettierignore", "package.json", "package-lock.json", + "biome.json", "dist/**", ] SPDX-FileCopyrightText = "2025 INDUSTRIA DE DISEÑO TEXTIL S.A. (INDITEX S.A.)" diff --git a/biome.json b/biome.json new file mode 100644 index 0000000..6669f5e --- /dev/null +++ b/biome.json @@ -0,0 +1,12 @@ +{ + "$schema": "https://biomejs.dev/schemas/2.2.4/schema.json", + "files": { + "ignoreUnknown": true + }, + "formatter": { + "enabled": false + }, + "linter": { + "enabled": false + } +} diff --git a/eslint.config.mjs b/eslint.config.mjs index df18a4c..7c66e32 100644 --- a/eslint.config.mjs +++ b/eslint.config.mjs @@ -4,6 +4,8 @@ // See: https://eslint.org/docs/latest/use/configure/configuration-files +import path from 'node:path' +import { fileURLToPath } from 'node:url' import { fixupPluginRules } from '@eslint/compat' import { FlatCompat } from '@eslint/eslintrc' import js from '@eslint/js' @@ -12,8 +14,6 @@ import tsParser from '@typescript-eslint/parser' import _import from 'eslint-plugin-import' import prettier from 'eslint-plugin-prettier' import globals from 'globals' -import path from 'node:path' -import { fileURLToPath } from 'node:url' const __filename = fileURLToPath(import.meta.url) const __dirname = path.dirname(__filename)