Skip to content

Commit

Permalink
Upgrade to shared eslint config + Adopt Prettier (#695)
Browse files Browse the repository at this point in the history
* Upgrade eslint and depend on the shared ddg config

* Fix autofixable eslint issues

* Manual eslint tweaks

* Pin eslint config version

* Update built files

* Fix variable assignment in config.js

* Introduce Prettier

* Apply lint fixes prettier

* Enforce semicolons

* Add semicolons (apply prettier)

* Commit build artifacts

* Sync prettier ignores with eslint ignores

* Ignore .vscode
  • Loading branch information
muodov authored Nov 6, 2024
1 parent c992041 commit 0648a2f
Show file tree
Hide file tree
Showing 172 changed files with 14,081 additions and 12,860 deletions.
36 changes: 0 additions & 36 deletions .eslintrc

This file was deleted.

24 changes: 12 additions & 12 deletions .github/actions/setup-release-scripts/action.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
name: 'Setup Release Scripts'
description: 'Install release script dependencies using correct node version'
runs:
using: "composite"
steps:
- uses: actions/setup-node@v3
with:
node-version-file: 'autofill/.nvmrc'
cache: 'npm'
cache-dependency-path: 'autofill/package-lock.json'
- run: |
cd autofill
npm install
cd ..
shell: bash
using: 'composite'
steps:
- uses: actions/setup-node@v3
with:
node-version-file: 'autofill/.nvmrc'
cache: 'npm'
cache-dependency-path: 'autofill/package-lock.json'
- run: |
cd autofill
npm install
cd ..
shell: bash
14 changes: 7 additions & 7 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
version: 2
updates:
- package-ecosystem: "npm"
directory: "/"
schedule:
interval: "weekly"
target-branch: "main"
labels:
- "dependencies"
- package-ecosystem: 'npm'
directory: '/'
schedule:
interval: 'weekly'
target-branch: 'main'
labels:
- 'dependencies'
Loading

0 comments on commit 0648a2f

Please sign in to comment.