diff --git a/.editorconfig b/.editorconfig index aaaa7a4..cc10920 100644 --- a/.editorconfig +++ b/.editorconfig @@ -1,10 +1,10 @@ -root = true +root=true [*] -indent_style = space -indent_size = 2 -tab_width = 2 -end_of_line = lf -charset = utf-8 -trim_trailing_whitespace = true -insert_final_newline = true +indent_style=space +indent_size=2 +tab_width=2 +end_of_line=lf +charset=utf-8 +trim_trailing_whitespace=true +insert_final_newline=true diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml new file mode 100644 index 0000000..c7481b9 --- /dev/null +++ b/.github/workflows/codeql.yml @@ -0,0 +1,44 @@ +name: CodeQL + +on: + push: + branches: + - main + pull_request: + branches: + - main + schedule: + - cron: '23 2 * * 2' + +jobs: + analyze: + name: Analyze + runs-on: ubuntu-latest + permissions: + actions: read + contents: read + security-events: write + + strategy: + fail-fast: false + matrix: + language: + - javascript + + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Initialize CodeQL + uses: github/codeql-action/init@v2 + with: + languages: ${{ matrix.language }} + queries: +security-and-quality + + - name: Autobuild + uses: github/codeql-action/autobuild@v2 + + - name: Perform CodeQL Analysis + uses: github/codeql-action/analyze@v2 + with: + category: '/language:${{ matrix.language }}' diff --git a/.gitignore b/.gitignore index 9c611f4..37b7330 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,5 @@ +.yarn/* +!.yarn/plugins *.tsbuildinfo .*cache node_modules diff --git a/.prettierignore b/.prettierignore index 1b763b1..51c7163 100644 --- a/.prettierignore +++ b/.prettierignore @@ -1 +1,2 @@ CHANGELOG.md +.yarn diff --git a/.yarn/install-state.gz b/.yarn/install-state.gz deleted file mode 100644 index 5a4f5ed..0000000 Binary files a/.yarn/install-state.gz and /dev/null differ diff --git a/.yarnrc.yml b/.yarnrc.yml index 9cd9198..d9881be 100644 --- a/.yarnrc.yml +++ b/.yarnrc.yml @@ -5,4 +5,4 @@ nodeLinker: node-modules plugins: - checksum: 37b2361b1502b2054e6779788c0e9bdd6a90ce49852a8cad2feda79b0614ec94f06fb6e78951f5f95429c610d7934dd077caa47413a0227378a102c55161616d path: .yarn/plugins/plugin-prepare-lifecycle.cjs - spec: "https://github.com/un-es/yarn-plugin-prepare-lifecycle/releases/download/v0.0.1/index.js" + spec: 'https://github.com/un-es/yarn-plugin-prepare-lifecycle/releases/download/v0.0.1/index.js' diff --git a/package.json b/package.json index 0933592..594cb94 100644 --- a/package.json +++ b/package.json @@ -34,6 +34,7 @@ "clean-pkg-json": "^1.2.0", "eslint": "^8.57.1", "lint-staged": "^15.4.3", + "prettier": "^3.5.3", "simple-git-hooks": "^2.11.1", "typescript": "^5.8.2" }, diff --git a/yarn.lock b/yarn.lock index 532a904..fd5edca 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3865,6 +3865,7 @@ __metadata: clean-pkg-json: "npm:^1.2.0" eslint: "npm:^8.57.1" lint-staged: "npm:^15.4.3" + prettier: "npm:^3.5.3" simple-git-hooks: "npm:^2.11.1" typescript: "npm:^5.8.2" peerDependencies: @@ -10643,7 +10644,7 @@ __metadata: languageName: node linkType: hard -"prettier@npm:>=3.0.0-alpha.3, prettier@npm:^3.1.1": +"prettier@npm:>=3.0.0-alpha.3, prettier@npm:^3.1.1, prettier@npm:^3.5.3": version: 3.5.3 resolution: "prettier@npm:3.5.3" bin: