Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
gernotpokorny committed May 10, 2023
0 parents commit 5b8b04b
Show file tree
Hide file tree
Showing 8 changed files with 2,927 additions and 0 deletions.
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
node_modules
106 changes: 106 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,106 @@
{
"env": {
"node": true,
"es2021": true
},
"extends": [
"eslint:recommended"
],
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "module"
},
"rules": {
"indent": [
"error",
"tab"
],
"comma-dangle": [
"warn",
{
"arrays": "always-multiline",
"objects": "always-multiline",
"imports": "always-multiline",
"exports": "always-multiline",
"functions": "never"
}
],
"quotes": [
"warn",
"single"
],
"max-len": [
"warn",
{
"code": 140,
"ignoreComments": true,
"ignoreTemplateLiterals": true,
"ignorePattern": "(test\\(\".*\".*)|(it\\(\".*\".*)|(describe\\(\".*\".*)"
}
],
"semi": [
"warn",
"always"
],
"no-extra-semi": "warn",
"no-unused-vars": "off"
},
"overrides": [
{
"files": [
"**/*.ts",
"**/*.tsx"
],
"parser": "@typescript-eslint/parser",
"plugins": [
"@typescript-eslint"
],
"extends": [
"plugin:@typescript-eslint/recommended"
],
"rules": {
"@typescript-eslint/no-empty-interface": "off",
"@typescript-eslint/no-unused-vars": "off",
"no-undef": "error"
}
},
{
"files": [
"*.json",
"*.json5",
"*.jsonc"
],
"parser": "jsonc-eslint-parser",
"extends": [
"plugin:jsonc/recommended-with-json"
],
"rules": {
"jsonc/indent": [
"warn",
"tab",
{}
]
}
},
{
"files": [
"tsconfig.json",
"extensions.json",
"launch.json"
],
"parser": "jsonc-eslint-parser",
"rules": {
"jsonc/no-comments": "off"
}
},
{
"files": [
"package.json",
"package-lock.json"
],
"rules": {
"max-len": "off"
}
}
]
}
24 changes: 24 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

# dependencies
node_modules
/.pnp
.pnp.js

# testing
**/coverage

# production
build
electron/out

# misc
.DS_Store
.env.local
.env.development.local
.env.test.local
.env.production.local

npm-debug.log*
yarn-debug.log*
yarn-error.log*
13 changes: 13 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
// See https://go.microsoft.com/fwlink/?LinkId=827846 to learn about workspace recommendations.
// Extension identifier format: ${publisher}.${name}. Example: vscode.csharp

// List of extensions which should be recommended for users of this workspace.
"recommendations": [
"dbaeumer.vscode-eslint"
],
// List of extensions recommended by VS Code that should not be recommended for users of this workspace.
"unwantedRecommendations": [

]
}
15 changes: 15 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"editor.insertSpaces": false,
"editor.tabSize": 4,
"editor.detectIndentation": false,
"eslint.validate": [
"javascript",
"javascriptreact",
"json",
"jsonc",
"json5"
],
"eslint.workingDirectories": [
"./.vscode"
]
}
3 changes: 3 additions & 0 deletions foo.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"bar": 5
}
Loading

0 comments on commit 5b8b04b

Please sign in to comment.