mirror of
https://github.com/ivuorinen/base-configs-eslint.git
synced 2026-03-11 08:58:09 +00:00
Compare commits
13 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
972a83f0f1 | ||
|
|
1351182417 | ||
| fdac980191 | |||
|
|
e97ebff94d | ||
|
|
2926de8a97 | ||
|
|
01666a1d0d | ||
|
|
940197f28f | ||
|
|
7cb9af5c58 | ||
|
|
fe19b0f310 | ||
|
|
db2d308ecd | ||
|
|
ddf9ae9f26 | ||
|
|
5ac05269a2 | ||
|
|
9d2e0fee98 |
95
.github/workflows/codeql.yml
vendored
95
.github/workflows/codeql.yml
vendored
@@ -1,17 +1,6 @@
|
|||||||
---
|
---
|
||||||
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
|
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
|
||||||
# For most projects, this workflow file will not need changing; you simply need
|
name: "CodeQL"
|
||||||
# to commit it to your repository.
|
|
||||||
#
|
|
||||||
# You may wish to alter this file to override the set of languages analyzed,
|
|
||||||
# or to provide custom queries or build logic.
|
|
||||||
#
|
|
||||||
# ******** NOTE ********
|
|
||||||
# We have attempted to detect the languages in your repository. Please check
|
|
||||||
# the `language` matrix defined below to confirm you have the correct set of
|
|
||||||
# supported CodeQL languages.
|
|
||||||
#
|
|
||||||
name: "CodeQL Advanced"
|
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
@@ -20,84 +9,26 @@ on:
|
|||||||
branches: ["main"]
|
branches: ["main"]
|
||||||
schedule:
|
schedule:
|
||||||
- cron: "22 8 * * 0"
|
- cron: "22 8 * * 0"
|
||||||
|
merge_group:
|
||||||
|
|
||||||
|
permissions: {}
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
analyze:
|
analyze:
|
||||||
name: Analyze (${{ matrix.language }})
|
name: Analyze
|
||||||
# Runner size impacts CodeQL analysis time. To learn more, please see:
|
runs-on: ubuntu-latest
|
||||||
# - https://gh.io/recommended-hardware-resources-for-running-codeql
|
|
||||||
# - https://gh.io/supported-runners-and-hardware-resources
|
|
||||||
# - https://gh.io/using-larger-runners (GitHub.com only)
|
|
||||||
# Consider using larger runners or machines with greater resources for possible analysis time improvements.
|
|
||||||
runs-on: ${{ (matrix.language == 'swift' && 'macos-latest') || 'ubuntu-latest' }}
|
|
||||||
permissions:
|
permissions:
|
||||||
# required for all workflows
|
|
||||||
security-events: write
|
|
||||||
|
|
||||||
# required to fetch internal or private CodeQL packs
|
|
||||||
packages: read
|
|
||||||
|
|
||||||
# only required for workflows in private repositories
|
|
||||||
actions: read
|
actions: read
|
||||||
contents: read
|
contents: read
|
||||||
|
packages: read
|
||||||
|
security-events: write
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
include:
|
language: ["actions", "javascript"]
|
||||||
- language: actions
|
|
||||||
build-mode: none
|
|
||||||
- language: javascript-typescript
|
|
||||||
build-mode: none
|
|
||||||
# CodeQL supports the following values keywords for 'language':
|
|
||||||
# 'actions', 'c-cpp', 'csharp', 'go', 'java-kotlin', 'javascript-typescript', 'python', 'ruby', 'swift'
|
|
||||||
# Use `c-cpp` to analyze code written in C, C++ or both
|
|
||||||
# Use 'java-kotlin' to analyze code written in Java, Kotlin or both
|
|
||||||
# Use 'javascript-typescript' to analyze code written in JavaScript, TypeScript or both
|
|
||||||
# To learn more about changing the languages that are analyzed or customizing the build mode for your analysis,
|
|
||||||
# see https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/customizing-your-advanced-setup-for-code-scanning.
|
|
||||||
# If you are analyzing a compiled language, you can modify the 'build-mode' for that language to customize how
|
|
||||||
# your codebase is analyzed, see https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/codeql-code-scanning-for-compiled-languages
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: CodeQL Analysis
|
||||||
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
uses: ivuorinen/actions/codeql-analysis@97105fc2a909360678588cb50caf0be5144be486 # v2026.03.06
|
||||||
|
|
||||||
# Add any setup steps before running the `github/codeql-action/init` action.
|
|
||||||
# This includes steps like installing compilers or runtimes (`actions/setup-node`
|
|
||||||
# or others). This is typically only required for manual builds.
|
|
||||||
# - name: Setup runtime (example)
|
|
||||||
# uses: actions/setup-example@v1
|
|
||||||
|
|
||||||
# Initializes the CodeQL tools for scanning.
|
|
||||||
- name: Initialize CodeQL
|
|
||||||
uses: github/codeql-action/init@c793b717bc78562f491db7b0e93a3a178b099162 # v4.32.5
|
|
||||||
with:
|
with:
|
||||||
languages: ${{ matrix.language }}
|
language: ${{ matrix.language }}
|
||||||
build-mode: ${{ matrix.build-mode }}
|
queries: security-and-quality
|
||||||
# If you wish to specify custom queries, you can do so here or in a config file.
|
|
||||||
# By default, queries listed here will override any specified in a config file.
|
|
||||||
# Prefix the list here with "+" to use these queries and those in the config file.
|
|
||||||
|
|
||||||
# For more details on CodeQL's query packs, refer to: https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
|
|
||||||
# queries: security-extended,security-and-quality
|
|
||||||
|
|
||||||
# If the analyze step fails for one of the languages you are analyzing with
|
|
||||||
# "We were unable to automatically build your code", modify the matrix above
|
|
||||||
# to set the build mode to "manual" for that language. Then modify this step
|
|
||||||
# to build your code.
|
|
||||||
# ℹ️ Command-line programs to run using the OS shell.
|
|
||||||
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
|
|
||||||
- if: matrix.build-mode == 'manual'
|
|
||||||
shell: bash
|
|
||||||
run: |
|
|
||||||
echo 'If you are using a "manual" build mode for one or more of the' \
|
|
||||||
'languages you are analyzing, replace this with the commands to build' \
|
|
||||||
'your code, for example:'
|
|
||||||
echo ' make bootstrap'
|
|
||||||
echo ' make release'
|
|
||||||
exit 1
|
|
||||||
|
|
||||||
- name: Perform CodeQL Analysis
|
|
||||||
uses: github/codeql-action/analyze@c793b717bc78562f491db7b0e93a3a178b099162 # v4.32.5
|
|
||||||
with:
|
|
||||||
category: "/language:${{matrix.language}}"
|
|
||||||
|
|||||||
2
.github/workflows/publish.yml
vendored
2
.github/workflows/publish.yml
vendored
@@ -46,7 +46,7 @@ jobs:
|
|||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
- name: Setup Node.js Environment
|
- name: Setup Node.js Environment
|
||||||
uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
|
uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
|
||||||
with:
|
with:
|
||||||
always-auth: true
|
always-auth: true
|
||||||
node-version-file: ".nvmrc"
|
node-version-file: ".nvmrc"
|
||||||
|
|||||||
@@ -51,12 +51,12 @@ repos:
|
|||||||
args: ["-shellcheck="]
|
args: ["-shellcheck="]
|
||||||
|
|
||||||
- repo: https://github.com/renovatebot/pre-commit-hooks
|
- repo: https://github.com/renovatebot/pre-commit-hooks
|
||||||
rev: 43.31.6
|
rev: 43.56.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: renovate-config-validator
|
- id: renovate-config-validator
|
||||||
|
|
||||||
- repo: https://github.com/bridgecrewio/checkov.git
|
- repo: https://github.com/bridgecrewio/checkov.git
|
||||||
rev: "3.2.506"
|
rev: "3.2.508"
|
||||||
hooks:
|
hooks:
|
||||||
- id: checkov
|
- id: checkov
|
||||||
args:
|
args:
|
||||||
|
|||||||
10
CHANGELOG.md
10
CHANGELOG.md
@@ -3,6 +3,16 @@
|
|||||||
All notable changes to this project will be documented in this file. See
|
All notable changes to this project will be documented in this file. See
|
||||||
[Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
[Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
||||||
|
|
||||||
|
## [1.0.7](https://github.com/ivuorinen/base-configs-eslint/compare/v1.0.6...v1.0.7) (2026-03-09)
|
||||||
|
|
||||||
|
## [1.0.6](https://github.com/ivuorinen/base-configs-eslint/compare/v1.0.5...v1.0.6) (2026-03-07)
|
||||||
|
|
||||||
|
## [1.0.5](https://github.com/ivuorinen/base-configs-eslint/compare/v1.0.4...v1.0.5) (2026-03-07)
|
||||||
|
|
||||||
|
## [1.0.4](https://github.com/ivuorinen/base-configs-eslint/compare/v1.0.3...v1.0.4) (2026-03-05)
|
||||||
|
|
||||||
|
## [1.0.3](https://github.com/ivuorinen/base-configs-eslint/compare/v1.0.2...v1.0.3) (2026-03-05)
|
||||||
|
|
||||||
## [1.0.2](https://github.com/ivuorinen/base-configs-eslint/compare/v1.0.1...v1.0.2) (2026-03-05)
|
## [1.0.2](https://github.com/ivuorinen/base-configs-eslint/compare/v1.0.1...v1.0.2) (2026-03-05)
|
||||||
|
|
||||||
## [1.0.1](https://github.com/ivuorinen/base-configs-eslint/compare/v1.0.0...v1.0.1) (2026-03-04)
|
## [1.0.1](https://github.com/ivuorinen/base-configs-eslint/compare/v1.0.0...v1.0.1) (2026-03-04)
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@ivuorinen/eslint-config",
|
"name": "@ivuorinen/eslint-config",
|
||||||
"version": "1.0.2",
|
"version": "1.0.7",
|
||||||
"description": "ivuorinen's shareable configuration for ESLint.",
|
"description": "ivuorinen's shareable configuration for ESLint.",
|
||||||
"author": {
|
"author": {
|
||||||
"name": "Ismo Vuorinen",
|
"name": "Ismo Vuorinen",
|
||||||
|
|||||||
24
yarn.lock
24
yarn.lock
@@ -272,14 +272,14 @@ __metadata:
|
|||||||
linkType: soft
|
linkType: soft
|
||||||
|
|
||||||
"@ivuorinen/semantic-release-config@npm:^1.0.0":
|
"@ivuorinen/semantic-release-config@npm:^1.0.0":
|
||||||
version: 1.1.5
|
version: 1.1.8
|
||||||
resolution: "@ivuorinen/semantic-release-config@npm:1.1.5"
|
resolution: "@ivuorinen/semantic-release-config@npm:1.1.8"
|
||||||
dependencies:
|
dependencies:
|
||||||
"@ivuorinen/config-checker": "npm:^2.0.0"
|
"@ivuorinen/config-checker": "npm:^2.0.0"
|
||||||
"@semantic-release/changelog": "npm:^6.0.3"
|
"@semantic-release/changelog": "npm:^6.0.3"
|
||||||
"@semantic-release/git": "npm:^10.0.1"
|
"@semantic-release/git": "npm:^10.0.1"
|
||||||
semantic-release: "npm:^25.0.2"
|
semantic-release: "npm:^25.0.2"
|
||||||
checksum: 10c0/ba5b0d5dab56e4247904761bf8fc33d0720600c1cc07fa4c99bdb44b110bb5aceb674fd7e4920f45884420be2955c55a5cbd75c6ee387c4e9ec6a699c0c6655d
|
checksum: 10c0/583705e5833ec7162882f9653af9c4e4dfcd1655a9058b824920e121d6541bee7b59a85440d1fb8d04c8c039a4dba35b1cefe969768d674cb87bffc5cb48fde6
|
||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
@@ -1656,17 +1656,17 @@ __metadata:
|
|||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"conventional-changelog-angular@npm:^8.0.0":
|
"conventional-changelog-angular@npm:^8.0.0":
|
||||||
version: 8.2.0
|
version: 8.3.0
|
||||||
resolution: "conventional-changelog-angular@npm:8.2.0"
|
resolution: "conventional-changelog-angular@npm:8.3.0"
|
||||||
dependencies:
|
dependencies:
|
||||||
compare-func: "npm:^2.0.0"
|
compare-func: "npm:^2.0.0"
|
||||||
checksum: 10c0/15f4d455df3152db62d3a7e92c83abe2438721e4b6736cae20b1ce17162fa0aca098b3a62f4f50d3541e4aa300f89f8768d7ba45b83cca77336ffb3700669e9e
|
checksum: 10c0/bab87fa741a25e4fb623e2629912a5e592de5ed616398bee0cd9779dc950aae2a78ac48a6f4268cbb5f5544bb33644e01c7b40cea378bb9763ae5304cc22efc2
|
||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"conventional-changelog-writer@npm:^8.0.0":
|
"conventional-changelog-writer@npm:^8.0.0":
|
||||||
version: 8.3.0
|
version: 8.4.0
|
||||||
resolution: "conventional-changelog-writer@npm:8.3.0"
|
resolution: "conventional-changelog-writer@npm:8.4.0"
|
||||||
dependencies:
|
dependencies:
|
||||||
"@simple-libs/stream-utils": "npm:^1.2.0"
|
"@simple-libs/stream-utils": "npm:^1.2.0"
|
||||||
conventional-commits-filter: "npm:^5.0.0"
|
conventional-commits-filter: "npm:^5.0.0"
|
||||||
@@ -1675,7 +1675,7 @@ __metadata:
|
|||||||
semver: "npm:^7.5.2"
|
semver: "npm:^7.5.2"
|
||||||
bin:
|
bin:
|
||||||
conventional-changelog-writer: dist/cli/index.js
|
conventional-changelog-writer: dist/cli/index.js
|
||||||
checksum: 10c0/e0ce001c54085a72504c1af6a6eade4ddf2ccf1e155ba8bf80bb03228b36c719b8a1f389d222c13f32f224d0ac448e0bed40222ebfbfe9a813e0b23d6162d258
|
checksum: 10c0/d657bf74c470e5d515d3a07814d266e6e2aea018e6867bfefa4bc486bb3f948b47b01936d65e46b3090111823364c21c201f9fbe875b1fc805cdf884bb032bc1
|
||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
@@ -6085,15 +6085,15 @@ __metadata:
|
|||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"tar@npm:^7.4.3, tar@npm:^7.5.1, tar@npm:^7.5.4, tar@npm:^7.5.9":
|
"tar@npm:^7.4.3, tar@npm:^7.5.1, tar@npm:^7.5.4, tar@npm:^7.5.9":
|
||||||
version: 7.5.9
|
version: 7.5.10
|
||||||
resolution: "tar@npm:7.5.9"
|
resolution: "tar@npm:7.5.10"
|
||||||
dependencies:
|
dependencies:
|
||||||
"@isaacs/fs-minipass": "npm:^4.0.0"
|
"@isaacs/fs-minipass": "npm:^4.0.0"
|
||||||
chownr: "npm:^3.0.0"
|
chownr: "npm:^3.0.0"
|
||||||
minipass: "npm:^7.1.2"
|
minipass: "npm:^7.1.2"
|
||||||
minizlib: "npm:^3.1.0"
|
minizlib: "npm:^3.1.0"
|
||||||
yallist: "npm:^5.0.0"
|
yallist: "npm:^5.0.0"
|
||||||
checksum: 10c0/e870beb1b2477135ca2abe86b2d18f7b35d0a4e3a37bbc523d3b8f7adca268dfab543f26528a431d569897f8c53a7cac745cdfbc4411c2f89aeeacc652b81b0a
|
checksum: 10c0/ed905e4b33886377df6e9206e5d1bd34458c21666e27943f946799416f86348c938590d573d6a69312cb29c583b122647a64ec92782f2b7e24e68d985dd72531
|
||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user