Skip to content

Commit

Permalink
updated eslint and added prettifier
Browse files Browse the repository at this point in the history
  • Loading branch information
metawave committed Jul 6, 2024
1 parent 07870b9 commit 650f80a
Show file tree
Hide file tree
Showing 9 changed files with 347 additions and 321 deletions.
2 changes: 1 addition & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@
*.war binary
*.pdf binary
*.zip binary
*.icns binary
*.icns binary
14 changes: 14 additions & 0 deletions .prettierrc.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Use single quotes for strings, because that is the Angular default
singleQuote: true

# The following settings prevent excessive use of vertical space
bracketSameLine: true # avoid closing '>' each on its own line

# Line endings are converted to lf using git, but may be checked out as crlf on windows
endOfLine: lf

# We prefer to use more horizontal space than the prettier default of 80, esp. for html
printWidth: 100

plugins:
- 'prettier-plugin-sh'
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
# Kanbanflow Application

[![Travis Build Status](https://travis-ci.org/metawave/kanbanflow-app.svg?branch=master)](https://travis-ci.org/metawave/kanbanflow-app)

This app wraps the great kanbanflow.com application as a standalone app.


![Screenshot](KanbanFlow.png)

## Usage

Login with your credentials and get work done!

Use Alt key to bring up the menu, where you can increase/decrease zoom-factor and also reload the webapp, when you run into unexpected behaviour.
Use Alt key to bring up the menu, where you can increase/decrease zoom-factor and also reload the webapp, when you run into unexpected behaviour.
13 changes: 6 additions & 7 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
import globals from "globals";
import pluginJs from "@eslint/js";
import tseslint from "typescript-eslint";

import globals from 'globals';
import pluginJs from '@eslint/js';
import tseslint from 'typescript-eslint';

export default [
{files: ["**/*.{js,mjs,cjs,ts}"]},
{languageOptions: { globals: globals.browser }},
{ files: ['**/*.{js,mjs,cjs,ts}'] },
{ languageOptions: { globals: globals.browser } },
pluginJs.configs.recommended,
...tseslint.configs.recommended,
];
];
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
"build": "tsc --outDir ./tsc",
"watch": "tsc -w --outDir ./tsc",
"lint": "eslint ./src",
"prettify": "prettier --write --ignore-unknown '**/*.*'",
"start": "yarn build && electron ./tsc/src/main/index.js",
"dist": "yarn build && electron-builder",
"dist:dir": "yarn dist --dir -c.compression=store -c.mac.identity=null"
Expand Down Expand Up @@ -69,8 +70,10 @@
"@typescript-eslint/parser": "^7.15.0",
"electron": "^31.1.0",
"electron-builder": "^24.13.3",
"eslint": "8.57.0",
"eslint": "^9.6.0",
"globals": "^15.8.0",
"prettier": "^3.3.2",
"prettier-plugin-sh": "^0.14.0",
"typescript": "^5.5.3",
"typescript-eslint": "^7.15.0"
}
Expand Down
4 changes: 1 addition & 3 deletions renovate.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:base"
]
"extends": ["config:base"]
}
Loading

0 comments on commit 650f80a

Please sign in to comment.