Skip to content

Commit

Permalink
copied from the other repo
Browse files Browse the repository at this point in the history
  • Loading branch information
baruchiro committed Aug 20, 2024
1 parent bb3150a commit c2e7f7c
Show file tree
Hide file tree
Showing 408 changed files with 7,856 additions and 50,174 deletions.
21 changes: 0 additions & 21 deletions .devcontainer/Dockerfile

This file was deleted.

27 changes: 0 additions & 27 deletions .devcontainer/devcontainer.json

This file was deleted.

13 changes: 0 additions & 13 deletions .devcontainer/gnome-keyring-fix.sh

This file was deleted.

18 changes: 18 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# EditorConfig is awesome: http://EditorConfig.org

# https://github.com/jokeyrhyme/standard-editorconfig

# top-most EditorConfig file
root = true

# defaults
[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
indent_size = 2
indent_style = space

[*.md]
trim_trailing_whitespace = false
7 changes: 7 additions & 0 deletions .env
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
VITE_APP_VERSION=$npm_package_version
VITE_APP_NAME=$npm_package_name

SENTRY_DSN=

GOOGLE_CLIENT_ID=
GOOGLE_CLIENT_ID=
61 changes: 0 additions & 61 deletions .eslintignore

This file was deleted.

72 changes: 72 additions & 0 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
const globals = require('./globals.cjs');
const readonlyGlobals = Object.keys(globals).reduce((acc, key) => {
acc[key] = 'readonly';
return acc;
}, {});

const _productionError = process.env.NODE_ENV === 'production' ? 'error' : 'warn';

module.exports = {
root: true,
env: {
es2021: true,
node: true,
browser: false,
},
extends: [
'eslint:recommended',
/** @see https://github.com/typescript-eslint/typescript-eslint/tree/master/packages/eslint-plugin#recommended-configs */
'plugin:@typescript-eslint/recommended',
'plugin:@typescript-eslint/stylistic-type-checked',
'prettier',
],
parser: '@typescript-eslint/parser',
parserOptions: {
ecmaVersion: 12,
sourceType: 'module',
project: './tsconfig.test.json',
},
plugins: ['@typescript-eslint'],
ignorePatterns: ['node_modules/**', '**/dist/**'],
globals: {
...readonlyGlobals,
},
rules: {
'@typescript-eslint/no-unused-vars': [
'error',
{
argsIgnorePattern: '^_',
varsIgnorePattern: '^_',
},
],
'@typescript-eslint/no-var-requires': 'off',
'@typescript-eslint/consistent-type-imports': [
'error',
{
fixStyle: 'inline-type-imports',
},
],
// '@typescript-eslint/prefer-optional-chain': 'warn',
// '@typescript-eslint/prefer-nullish-coalescing': 'warn',
/**
* Having a semicolon helps the optimizer interpret your code correctly.
* This avoids rare errors in optimized code.
* @see https://twitter.com/alex_kozack/status/1364210394328408066
*/
semi: ['error', 'always'],
/**
* This will make the history of changes in the hit a little cleaner
*/
'comma-dangle': ['warn', 'always-multiline'],
/**
* Just for beauty
*/
quotes: [
'warn',
'single',
{
avoidEscape: true,
},
],
},
};
99 changes: 0 additions & 99 deletions .eslintrc.js

This file was deleted.

4 changes: 4 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
.github/actions/**/*.js linguist-detectable=false
scripts/*.js linguist-detectable=false
*.config.js linguist-detectable=false
* text=auto eol=lf
1 change: 0 additions & 1 deletion .github/CODEOWNERS

This file was deleted.

28 changes: 28 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: bug
assignees:

---

**Describe the bug**
A clear and concise description of what the bug is.

**To Reproduce**
Steps to reproduce the behavior:

1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

**Expected behavior**
A clear and concise description of what you expected to happen.

**Screenshots**
If applicable, add screenshots to help explain your problem.

**Additional context**
Add any other context about the problem here.
5 changes: 5 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
blank_issues_enabled: false
contact_links:
- name: Questions & Discussions
url: https://github.com/brafdlog/caspion/discussions/categories/q-a
about: Use GitHub discussions for message-board style questions and discussions.
20 changes: 20 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
name: Feature request
about: Suggest an idea for this project
title: ''
labels: enhancement
assignees:

---

**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

**Describe the solution you'd like**
A clear and concise description of what you want to happen.

**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.

**Additional context**
Add any other context or screenshots about the feature request here.
Loading

0 comments on commit c2e7f7c

Please sign in to comment.