Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
96 changes: 0 additions & 96 deletions .eslintrc.js

This file was deleted.

72 changes: 0 additions & 72 deletions .github/workflows/codeql-analysis.yml

This file was deleted.

36 changes: 17 additions & 19 deletions .github/workflows/eslint.yml
Original file line number Diff line number Diff line change
@@ -1,50 +1,48 @@
# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
# ESLint is a tool for identifying and reporting on patterns
# found in ECMAScript/JavaScript code.
# More details at https://github.com/eslint/eslint
# and https://eslint.org

name: ESLint

on:
push:
branches: ["master"]

pull_request:
# The branches below must be a subset of the branches above
branches: ["master"]

schedule:
- cron: "40 5 * * 0"

jobs:
eslint:
name: Run eslint scanning
name: Run ESLint scanning
runs-on: ubuntu-latest

permissions:
contents: read
security-events: write

steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Install ESLint
run: |
npm install eslint@8.56.0
npm install @microsoft/eslint-formatter-sarif@3.0.0
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 22.x
cache: npm

- name: Install dependencies
run: npm ci

Check warning on line 33 in .github/workflows/eslint.yml

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Omitting "--ignore-scripts" allows lifecycle scripts to run during package installation.

See more on https://sonarcloud.io/project/issues?id=begin-again_dev-tools&issues=AaDn3VgCDOcK4OhptUKb&open=AaDn3VgCDOcK4OhptUKb&pullRequest=266

- name: Run ESLint
run: npx eslint .
--config .eslintrc.js
run: >
npx eslint .

Check warning on line 37 in .github/workflows/eslint.yml

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

"npx" can install packages on-demand and run their lifecycle scripts.

See more on https://sonarcloud.io/project/issues?id=begin-again_dev-tools&issues=AaDn3VgCDOcK4OhptUKc&open=AaDn3VgCDOcK4OhptUKc&pullRequest=266

Check warning on line 37 in .github/workflows/eslint.yml

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Define exact package version to avoid installing unverified releases.

See more on https://sonarcloud.io/project/issues?id=begin-again_dev-tools&issues=AaDn3VgCDOcK4OhptUKd&open=AaDn3VgCDOcK4OhptUKd&pullRequest=266
--config .eslint.config.js
--quiet
--ext .js,.jsx,.ts,.tsx
--format @microsoft/eslint-formatter-sarif
--output-file eslint-results.sarif
continue-on-error: true

- name: Upload analysis results to GitHub
uses: github/codeql-action/upload-sarif@v3
uses: github/codeql-action/upload-sarif@v4
with:
sarif_file: eslint-results.sarif
wait-for-processing: true
15 changes: 7 additions & 8 deletions .github/workflows/node.nix.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,20 +12,19 @@
jobs:
build:
name: Build and Test
runs-on: ubuntu-latest
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [20.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/

env:
NVM_HOME: "nvm"
node-version: [22.x]

steps:
- uses: actions/checkout@v4

- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- run: yarn install --frozen-lockfile
- run: yarn test

- run: npm ci

Check warning on line 28 in .github/workflows/node.nix.js.yml

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Omitting "--ignore-scripts" allows lifecycle scripts to run during package installation.

See more on https://sonarcloud.io/project/issues?id=begin-again_dev-tools&issues=AaDnrSmBNJ2SDhp8sjD-&open=AaDnrSmBNJ2SDhp8sjD-&pullRequest=266

- run: npm run test
15 changes: 7 additions & 8 deletions .github/workflows/node.win.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,20 +12,19 @@ on:
jobs:
build:
name: Build and Test Windows
runs-on: windows-latest
runs-on: windows-latest

strategy:
matrix:
node-version: [20.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/

env:
NVM_HOME: "nvm"
node-version: [22.x]

steps:
- uses: actions/checkout@v4

- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- run: yarn install --frozen-lockfile
- run: yarn test

- run: npm ci

- run: npm run test
7 changes: 0 additions & 7 deletions .mocharc.yml

This file was deleted.

7 changes: 0 additions & 7 deletions .yarnrc.yml

This file was deleted.

Loading
Loading