Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
killerwolf committed Sep 22, 2024
1 parent ce601a8 commit b74436e
Show file tree
Hide file tree
Showing 4 changed files with 126 additions and 15 deletions.
11 changes: 8 additions & 3 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,21 @@
"es2021": true,
"node": true
},
"extends": "airbnb-base",
"extends": [
"eslint:recommended",
"plugin:prettier/recommended"
],
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "module"
},
"rules": {
"import/no-extraneous-dependencies": ["error", { "devDependencies": true }]
"no-console": "warn",
"no-alert": "warn"
},
"globals": {
"window": "readonly",
"document": "readonly"
"document": "readonly",
"Notification": "readonly"
}
}
7 changes: 4 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,14 @@ jobs:
- name: Install dependencies
run: npm install

- name: Check formatting
run: npx prettier --check .

- name: Run linter
run: npm run lint
continue-on-error: true

- name: Check formatting
run: npx prettier --check .
continue-on-error: true

- name: Build the app
run: npm run build

Expand Down
115 changes: 109 additions & 6 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 5 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
"scripts": {
"build": "electron-builder",
"start": "electron .",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"lint": "eslint . --ext .js",
"lint:fix": "eslint . --ext .js --fix && npm run format",
"format": "prettier --write ."
},
"keywords": [],
Expand Down Expand Up @@ -52,8 +52,10 @@
"electron-builder": "^25.0.5",
"eslint": "^8.56.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-import": "^2.29.1",
"prettier": "^2.8.8"
"eslint-plugin-prettier": "^5.2.1",
"prettier": "^3.3.3"
},
"dependencies": {
"@electron/remote": "^2.1.2",
Expand Down

0 comments on commit b74436e

Please sign in to comment.