Skip to content

Commit

Permalink
Merge pull request #644 from dwh-outsite/eslint-upgrade
Browse files Browse the repository at this point in the history
Upgrade eslint to newest version
  • Loading branch information
casperboone authored Jan 4, 2025
2 parents 265afc3 + 507ff5f commit 9facd3b
Show file tree
Hide file tree
Showing 5 changed files with 396 additions and 234 deletions.
9 changes: 0 additions & 9 deletions .eslintrc.cjs

This file was deleted.

24 changes: 6 additions & 18 deletions .github/workflows/ci.yml β†’ .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -1,23 +1,10 @@
name: ci
name: lint

on:
push:
branches:
- main
- master
pull_request:
branches:
- main
- master
on: push

jobs:
ci:
runs-on: ${{ matrix.os }}

strategy:
matrix:
os: [ubuntu-latest]
node: [22]
lint:
runs-on: ubuntu-latest

steps:
- name: Checkout πŸ›Ž
Expand All @@ -26,7 +13,8 @@ jobs:
- name: Setup node env πŸ—
uses: actions/[email protected]
with:
node-version: ${{ matrix.node }}
node-version: 22
cache: npm

- name: Install dependencies πŸ‘¨πŸ»β€πŸ’»
run: npm ci
Expand Down
9 changes: 9 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import dpgRadioVue3 from '@dpgradio/eslint-config-vue3'

export default [
{
ignores: ['**/.nuxt/', '**/.output/'],
},
...dpgRadioVue3,
{ rules: { 'no-undef': 'off' } },
]
Loading

0 comments on commit 9facd3b

Please sign in to comment.