Skip to content

Commit

Permalink
build(deps): update all dev deps (#619)
Browse files Browse the repository at this point in the history
* build(deps): update all dev deps

* ci: get eslint working again

* ci: update action versions
  • Loading branch information
rfverbruggen authored Nov 24, 2024
1 parent 5ed195c commit 04a12cc
Show file tree
Hide file tree
Showing 5 changed files with 2,434 additions and 1,997 deletions.
24 changes: 0 additions & 24 deletions .eslintrc.json

This file was deleted.

12 changes: 6 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: CI
on:
push:
branches:
- 'main'
- "main"
pull_request:
branches: [main]
release:
Expand All @@ -23,7 +23,7 @@ jobs:
- name: Checkout
uses: actions/checkout@v3
- name: Install Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4
- run: npm install
- run: xvfb-run -a npm test
if: runner.os == 'Linux'
Expand All @@ -34,11 +34,11 @@ jobs:
needs: ["test"]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
- name: Install Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4
- run: npm install
- run: xvfb-run -a npm test
- uses: SonarSource/sonarcloud-github-action@master
Expand All @@ -52,9 +52,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Install Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4
- run: npm install
- run: npm run compile
- run: npm run deploy
Expand Down
29 changes: 29 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
import typescriptEslint from "@typescript-eslint/eslint-plugin";
import tsParser from "@typescript-eslint/parser";

export default [
{
files: ["**/*.ts", "**/*.tsx"],
ignores: ["**/out", "**/dist", "**/*.d.ts"]
},
{
plugins: {
"@typescript-eslint": typescriptEslint
},

languageOptions: {
parser: tsParser,
ecmaVersion: 6,
sourceType: "module"
},

rules: {
"@typescript-eslint/naming-convention": "warn",
"@typescript-eslint/semi": "warn",
curly: "warn",
eqeqeq: "warn",
"no-throw-literal": "warn",
semi: "off"
}
}
];
Loading

0 comments on commit 04a12cc

Please sign in to comment.