Skip to content

Commit

Permalink
chore: unify indentation
Browse files Browse the repository at this point in the history
move contributing to .github folder
  • Loading branch information
simonwep committed Apr 22, 2024
1 parent a3cb646 commit bcc80ae
Show file tree
Hide file tree
Showing 5 changed files with 125 additions and 92 deletions.
File renamed without changes.
6 changes: 3 additions & 3 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"singleQuote": true,
"trailingComma": "none",
"printWidth": 120
"singleQuote": true,
"trailingComma": "none",
"printWidth": 120
}
108 changes: 54 additions & 54 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,56 +1,56 @@
{
"name": "ocular",
"private": true,
"type": "module",
"version": "0.0.0",
"license": "MIT",
"author": "Simon Reinisch <trash@reinisch.io>",
"packageManager": "pnpm@8.0.0",
"engines": {
"node": "^20"
},
"scripts": {
"dev": "vite --host",
"build": "vue-tsc --noEmit && vite build",
"preview": "vite preview",
"lint": "eslint '{scripts,src}/**/*.{js,ts,vue}' --no-error-on-unmatched-pattern",
"lint:fix": "pnpm run lint --fix",
"test:ci": "pnpm run lint:fix && pnpm run build"
},
"dependencies": {
"@popperjs/core": "2.11.8",
"@remixicon/vue": "4.2.0",
"echarts": "5.5.0",
"papaparse": "5.4.1",
"vue": "3.4.21",
"vue-i18n": "9.10.1",
"vue-router": "4.3.0",
"yuppee": "0.3.0"
},
"devDependencies": {
"@intlify/eslint-plugin-vue-i18n": "^2.0.0",
"@types/ackee-tracker": "5.0.4",
"@types/node": "20.11.25",
"@types/papaparse": "5.3.14",
"@typescript-eslint/eslint-plugin": "7.1.1",
"@typescript-eslint/parser": "7.1.1",
"@vitejs/plugin-vue": "5.0.4",
"@vue/eslint-config-prettier": "9.0.0",
"@vue/eslint-config-typescript": "13.0.0",
"eslint": "8.57.0",
"eslint-config-prettier": "9.1.0",
"eslint-import-resolver-typescript": "3.6.1",
"eslint-plugin-import": "2.29.1",
"eslint-plugin-prettier": "5.1.3",
"eslint-plugin-vue": "9.22.0",
"prettier": "3.2.5",
"sass": "1.71.1",
"typescript": "5.3.3",
"vite": "5.1.5",
"vite-plugin-optimize-css-modules": "1.0.6",
"vite-plugin-pwa": "0.19.2",
"vite-tsconfig-paths": "4.3.1",
"vue-tsc": "2.0.6",
"workbox-window": "7.0.0"
}
"name": "ocular",
"private": true,
"type": "module",
"version": "0.0.0",
"license": "MIT",
"author": "Simon Reinisch <trash@reinisch.io>",
"packageManager": "pnpm@8.0.0",
"engines": {
"node": "^20"
},
"scripts": {
"dev": "vite --host",
"build": "vue-tsc --noEmit && vite build",
"preview": "vite preview",
"lint": "eslint '{scripts,src}/**/*.{js,ts,vue}' --no-error-on-unmatched-pattern",
"lint:fix": "pnpm run lint --fix",
"test:ci": "pnpm run lint:fix && pnpm run build"
},
"dependencies": {
"@popperjs/core": "2.11.8",
"@remixicon/vue": "4.2.0",
"echarts": "5.5.0",
"papaparse": "5.4.1",
"vue": "3.4.21",
"vue-i18n": "9.10.1",
"vue-router": "4.3.0",
"yuppee": "0.3.0"
},
"devDependencies": {
"@intlify/eslint-plugin-vue-i18n": "^2.0.0",
"@types/ackee-tracker": "5.0.4",
"@types/node": "20.11.25",
"@types/papaparse": "5.3.14",
"@typescript-eslint/eslint-plugin": "7.1.1",
"@typescript-eslint/parser": "7.1.1",
"@vitejs/plugin-vue": "5.0.4",
"@vue/eslint-config-prettier": "9.0.0",
"@vue/eslint-config-typescript": "13.0.0",
"eslint": "8.57.0",
"eslint-config-prettier": "9.1.0",
"eslint-import-resolver-typescript": "3.6.1",
"eslint-plugin-import": "2.29.1",
"eslint-plugin-prettier": "5.1.3",
"eslint-plugin-vue": "9.22.0",
"prettier": "3.2.5",
"sass": "1.71.1",
"typescript": "5.3.3",
"vite": "5.1.5",
"vite-plugin-optimize-css-modules": "1.0.6",
"vite-plugin-pwa": "0.19.2",
"vite-tsconfig-paths": "4.3.1",
"vue-tsc": "2.0.6",
"workbox-window": "7.0.0"
}
}
88 changes: 59 additions & 29 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,32 +1,62 @@
{
"include": ["src/**/*.ts", "src/**/*.d.ts", "src/**/*.tsx", "src/**/*.vue"],
"references": [{"path": "./tsconfig.node.json"}],
"compilerOptions": {
"target": "esnext",
"useDefineForClassFields": true,
"module": "esnext",
"moduleResolution": "node",
"strict": true,
"jsx": "preserve",
"sourceMap": true,
"skipLibCheck": true,
"resolveJsonModule": true,
"esModuleInterop": true,
"lib": ["esnext", "dom"],
"baseUrl": ".",
"types": [
"vite-plugin-pwa/client"
],
"paths": {
"@composables": ["./src/composables/index.ts"],
"@directives": ["./src/directives/index.ts"],
"@components/*": ["./src/app/components/*"],
"@app/*": ["./src/app/*"],
"@i18n/*": ["./src/i18n/*"],
"@storage/*": ["./src/storage/*"],
"@static/*": ["./src/static/*"],
"@utils": ["./src/utils/index.ts"],
"@store/*": ["./src/store/*"]
}
"include": [
"src/**/*.ts",
"src/**/*.d.ts",
"src/**/*.tsx",
"src/**/*.vue"
],
"references": [
{
"path": "./tsconfig.node.json"
}
],
"compilerOptions": {
"target": "esnext",
"useDefineForClassFields": true,
"module": "esnext",
"moduleResolution": "node",
"strict": true,
"jsx": "preserve",
"sourceMap": true,
"skipLibCheck": true,
"resolveJsonModule": true,
"esModuleInterop": true,
"lib": [
"esnext",
"dom"
],
"baseUrl": ".",
"types": [
"vite-plugin-pwa/client"
],
"paths": {
"@composables": [
"./src/composables/index.ts"
],
"@directives": [
"./src/directives/index.ts"
],
"@components/*": [
"./src/app/components/*"
],
"@app/*": [
"./src/app/*"
],
"@i18n/*": [
"./src/i18n/*"
],
"@storage/*": [
"./src/storage/*"
],
"@static/*": [
"./src/static/*"
],
"@utils": [
"./src/utils/index.ts"
],
"@store/*": [
"./src/store/*"
]
}
}
}
15 changes: 9 additions & 6 deletions tsconfig.node.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
{
"include": ["vite.config.ts", "./utils/*.ts"],
"compilerOptions": {
"composite": true,
"module": "esnext",
"moduleResolution": "node"
}
"include": [
"vite.config.ts",
"./utils/*.ts"
],
"compilerOptions": {
"composite": true,
"module": "esnext",
"moduleResolution": "node"
}
}

0 comments on commit bcc80ae

Please sign in to comment.