Updated linting and formatting rules

This commit is contained in:
Oliver Schwendener 2024-02-26 10:00:39 +01:00
parent f14b139f99
commit 9aff97923d
No known key found for this signature in database
GPG Key ID: 65FB86201210F104
4 changed files with 34 additions and 99 deletions

View File

@ -1,2 +1,5 @@
coverage/
dist-main/
dist-preload/
dist-renderer/
node_modules/
webpack.config.js

View File

@ -1,30 +1,13 @@
{
"root": true,
"rules": {
"@typescript-eslint/explicit-module-boundary-types": 0
},
"plugins": ["@typescript-eslint"],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended"
"plugin:@typescript-eslint/recommended",
],
"overrides": [
{
"files": "*.ts",
"parser": "@typescript-eslint/parser"
},
{
"files": "*.vue",
"parser": "vue-eslint-parser",
"parserOptions": {
"parser": "@typescript-eslint/parser"
}
}
],
"ignorePatterns": ["bundle", "dist-main", "dist-preload", "dist-renderer"],
"env": {
"browser": true,
"node": true
}
"node": true,
},
}

97
.gitignore vendored
View File

@ -1,83 +1,34 @@
dist-main/
dist-preload/
dist-renderer/
release/
tsconfig.tsbuildinfo
.DS_Store
# npmrc
.npmrc
#Visual Studio Code files
.vscode/*
!.vscode/launch.example.json
!.vscode/extensions.json
# IntelliJ
.idea/
#Bundled files
bundle/
# debug files
icon-store/
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
lerna-debug.log*
tsconfig.tsbuildinfo
# Runtime data
pids
*.pid
*.seed
*.pid.lock
# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov
# Coverage directory used by tools like istanbul
.npmrc
node_modules
dist-main
dist-preload
dist-renderer
release
coverage
*.local
# nyc test coverage
.nyc_output
# Editor directories and files
.vscode/.debug.env
.idea
.DS_Store
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
.grunt
# Bower dependency directory (https://bower.io/)
bower_components
# node-waf configuration
.lock-wscript
# Compiled binary addons (http://nodejs.org/api/addons.html)
build/Release
# Dependency directories
node_modules/
jspm_packages/
# Typescript v1 declaration files
typings/
# Optional npm cache directory
.npm
# Optional eslint cache
.eslintcache
# Optional REPL history
.node_repl_history
# Output of 'npm pack'
*.tgz
# Yarn Integrity file
.yarn-integrity
# dotenv environment variables file
.env
#lockfile
package-lock.json
pnpm-lock.yaml
yarn.lock
/test-results/

View File

@ -1,7 +1,5 @@
{
"singleQuote": false,
"tabWidth": 4,
"plugins": ["prettier-plugin-organize-imports"],
"printWidth": 120,
"trailingComma": "all",
"plugins": ["prettier-plugin-organize-imports"]
"tabWidth": 4
}