Skip to content

Commit

Permalink
chore: create project
Browse files Browse the repository at this point in the history
  • Loading branch information
OzakIOne committed Mar 30, 2023
0 parents commit 507aa7d
Show file tree
Hide file tree
Showing 57 changed files with 14,897 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[*]
charset = utf-8
end_of_line = lf
trim_trailing_whitespace = true
indent_style = space
indent_size = 2
162 changes: 162 additions & 0 deletions .eslintrc.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,162 @@
root: true

parser: "@typescript-eslint/parser"

extends:
- plugin:@typescript-eslint/recommended
- plugin:sonarjs/recommended
- plugin:unicorn/recommended
- plugin:prettier/recommended

plugins:
- simple-import-sort
- import
- only-error
- unused-imports

rules:
default-case: error
lines-between-class-members: "off"
no-async-promise-executor: error
no-await-in-loop: error
no-console: error
no-misleading-character-class: error
no-multi-assign: error
no-multi-str: error
no-nested-ternary: error
no-new: error
no-new-object: error
no-new-symbol: error
no-new-wrappers: error
no-obj-calls: error
no-path-concat: error
no-return-await: error
no-script-url: error
no-self-compare: error
no-sequences: error
no-shadow-restricted-names: error
no-sparse-arrays: error
no-tabs: error
no-template-curly-in-string: error
no-this-before-super: error
prefer-numeric-literals: error
prefer-object-spread: error
prefer-rest-params: error
prefer-spread: error
prefer-template: error
sort-imports: "off"
symbol-description: error

import/exports-last: error
import/first: error
import/no-default-export: error
import/no-duplicates: error
import/order: "off"
import/prefer-default-export: "off"

simple-import-sort/exports: error
simple-import-sort/imports: error

unused-imports/no-unused-imports: error

unicorn/no-array-callback-reference: "off"
unicorn/no-array-for-each: "off"
unicorn/no-array-reduce: "off"
unicorn/no-null: "off"

"@typescript-eslint/member-ordering": error
"@typescript-eslint/method-signature-style": error
"@typescript-eslint/naming-convention": error
"@typescript-eslint/no-base-to-string": error
"@typescript-eslint/no-confusing-non-null-assertion": error
"@typescript-eslint/no-confusing-void-expression": error
"@typescript-eslint/no-dynamic-delete": error
"@typescript-eslint/no-floating-promises": error
"@typescript-eslint/no-implicit-any-catch": error
"@typescript-eslint/no-require-imports": error
"@typescript-eslint/no-unnecessary-boolean-literal-compare": error
"@typescript-eslint/no-unnecessary-condition": error
"@typescript-eslint/no-unnecessary-qualifier": error
"@typescript-eslint/no-unnecessary-type-arguments": error
"@typescript-eslint/no-unnecessary-type-constraint": error
"@typescript-eslint/no-unused-vars": "off"
"@typescript-eslint/prefer-includes": error
"@typescript-eslint/prefer-nullish-coalescing": error
"@typescript-eslint/prefer-optional-chain": error
"@typescript-eslint/prefer-readonly": error
"@typescript-eslint/prefer-string-starts-ends-with": error
"@typescript-eslint/prefer-ts-expect-error": error
"@typescript-eslint/promise-function-async": error
"@typescript-eslint/require-array-sort-compare": error
"@typescript-eslint/sort-type-union-intersection-members": error
"@typescript-eslint/strict-boolean-expressions": error
"@typescript-eslint/switch-exhaustiveness-check": error
"@typescript-eslint/type-annotation-spacing": error
"@typescript-eslint/unified-signatures": error

arrow-body-style:
- error
- as-needed

func-style:
- error
- expression
- allowArrowFunctions: true

unused-imports/no-unused-vars:
- error
- vars: all
args: after-used
ignoreRestSiblings: true
argsIgnorePattern: ^_
varsIgnorePattern: ^_

"@typescript-eslint/array-type":
- error
- default: array
readonly: array

"@typescript-eslint/consistent-indexed-object-style":
- error
- record

"@typescript-eslint/consistent-type-assertions":
- error
- assertionStyle: as
objectLiteralTypeAssertions: allow

"@typescript-eslint/consistent-type-definitions":
- error
- interface

"@typescript-eslint/consistent-type-imports":
- error
- prefer: type-imports
disallowTypeAnnotations: true

"@typescript-eslint/explicit-function-return-type":
- error
- allowExpressions: true
allowTypedFunctionExpressions: true
allowHigherOrderFunctions: true
allowDirectConstAssertionInArrowFunctions: true
allowConciseArrowFunctionExpressionsStartingWithVoid: false

"@typescript-eslint/explicit-member-accessibility":
- error
- accessibility: explicit

"@typescript-eslint/no-extraneous-class":
- error
- allowWithDecorator: true

"@typescript-eslint/no-parameter-properties":
- error
- allows:
- private readonly
- protected readonly

"@typescript-eslint/lines-between-class-members":
- error
- always
- exceptAfterOverload: true
24 changes: 24 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
lerna-debug.log*

node_modules
dist
dist-ssr
*.local

# Editor directories and files
.vscode/*
!.vscode/extensions.json
.idea
.DS_Store
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
19.8.1
3 changes: 3 additions & 0 deletions .prettierrc.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
printWidth: 100
singleQuote: true
quoteProps: consistent
8 changes: 8 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"recommendations": [
"tauri-apps.tauri-vscode",
"rust-lang.rust-analyzer",
"EditorConfig.EditorConfig",
"dsznajder.es7-react-js-snippets",
]
}
27 changes: 27 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Scoop-GUI

An tauri gui for [scoop](https://scoop.sh)

## Installation

```bash
git clone https://github.com/OzakIOne/scoop-gui

cd scoop-gui

pnpm i -r

pnpm run build
```

## How it shoud look

![excalidraw mockup](./docs/excalidraw/scoop-gui-mockup.png)

## Api

[Insomnia workspace](./docs/insomnia/scoop-gui-insomnia.json)

## Todo

[tsconfig references](https://youtu.be/HM03XGVlRXI)
Empty file added docs/api/.gitkeep
Empty file.
Loading

0 comments on commit 507aa7d

Please sign in to comment.