Compare commits
39 Commits
9d41cdb010
...
2310f4b22f
Author | SHA1 | Date |
---|---|---|
|
2310f4b22f | |
|
176ea3e569 | |
|
55f68c2c05 | |
|
80e9cb3881 | |
|
57e0278bd2 | |
|
e55603e9ee | |
|
4d4705d92f | |
|
2ad97bcfa9 | |
|
138335b10c | |
|
6e8fddbe72 | |
|
b62b44d575 | |
|
8ff2cf76a1 | |
|
080e60bbd8 | |
|
39d64df1de | |
|
cc93e6c006 | |
|
43be5c3a79 | |
|
e09e7f4827 | |
|
3423dcabb8 | |
|
210a8bdb13 | |
|
94297723a5 | |
|
1a4aeb73a1 | |
|
13f2ada2ee | |
|
1cbdcc893c | |
|
898ce2e0c0 | |
|
7b5a1fc332 | |
|
1ee04edfc9 | |
|
9a270405c9 | |
|
45f12492b3 | |
|
388c33d102 | |
|
b05d4529b4 | |
|
3ae33a84bb | |
|
4d46de2763 | |
|
edf836235b | |
|
67e50709c0 | |
|
4ba13a6c42 | |
|
a8bdc2c4b2 | |
|
aa7cdb3fa3 | |
|
c6c01a3e24 | |
|
7c656afce8 |
|
@ -0,0 +1,28 @@
|
||||||
|
{
|
||||||
|
"env": {
|
||||||
|
"browser": true,
|
||||||
|
"es2021": true
|
||||||
|
},
|
||||||
|
"extends": [
|
||||||
|
"eslint:recommended",
|
||||||
|
"plugin:vue/vue3-recommended",
|
||||||
|
"prettier"
|
||||||
|
],
|
||||||
|
"parserOptions": {
|
||||||
|
"ecmaVersion": "latest",
|
||||||
|
"sourceType": "module"
|
||||||
|
},
|
||||||
|
"plugins": [
|
||||||
|
"vue"
|
||||||
|
],
|
||||||
|
"overrides": [
|
||||||
|
{
|
||||||
|
"files": [
|
||||||
|
"*.vue"
|
||||||
|
],
|
||||||
|
"rules": {
|
||||||
|
"vue/multi-word-component-names": "off"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
|
@ -210,14 +210,6 @@ class MemberResource extends JsonResource
|
||||||
'multiply_pv' => false,
|
'multiply_pv' => false,
|
||||||
'multiply_more_pv' => false,
|
'multiply_more_pv' => false,
|
||||||
'keepdata' => false,
|
'keepdata' => false,
|
||||||
'bank_account' => [
|
|
||||||
'iban' => '',
|
|
||||||
'bic' => '',
|
|
||||||
'blz' => '',
|
|
||||||
'bank_name' => '',
|
|
||||||
'person' => '',
|
|
||||||
'account_number' => '',
|
|
||||||
]
|
|
||||||
]
|
]
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,43 +0,0 @@
|
||||||
import eslint from '@eslint/js';
|
|
||||||
import eslintPluginVue from 'eslint-plugin-vue';
|
|
||||||
import typescriptEslint from 'typescript-eslint';
|
|
||||||
import globals from 'globals';
|
|
||||||
|
|
||||||
export default typescriptEslint.config(
|
|
||||||
{ ignores: ['*.d.ts', '**/coverage', '**/dist'] },
|
|
||||||
{
|
|
||||||
extends: [
|
|
||||||
eslint.configs.recommended,
|
|
||||||
...typescriptEslint.configs.recommended,
|
|
||||||
...eslintPluginVue.configs['flat/recommended'],
|
|
||||||
],
|
|
||||||
files: ['**/*.{ts,vue}'],
|
|
||||||
languageOptions: {
|
|
||||||
ecmaVersion: 2022,
|
|
||||||
sourceType: 'module',
|
|
||||||
globals: globals.browser,
|
|
||||||
parserOptions: {
|
|
||||||
parser: typescriptEslint.parser,
|
|
||||||
},
|
|
||||||
},
|
|
||||||
rules: {
|
|
||||||
'indent': ['error', 4],
|
|
||||||
'vue/html-indent': ['error', 4],
|
|
||||||
'linebreak-style': ['error', 'unix'],
|
|
||||||
'quotes': ['error', 'single'],
|
|
||||||
'semi': ['error', 'always'],
|
|
||||||
'vue/no-reserved-component-names': 'off',
|
|
||||||
'vue/multi-word-component-names': 'off',
|
|
||||||
'vue/max-attributes-per-line': 'off',
|
|
||||||
'vue/singleline-html-element-content-newline': 'off',
|
|
||||||
"vue/first-attribute-linebreak": ["error", {
|
|
||||||
"singleline": "beside",
|
|
||||||
"multiline": "beside"
|
|
||||||
}],
|
|
||||||
'vue/no-undef-properties': ['error', {
|
|
||||||
'ignores': ['/^\\$/']
|
|
||||||
}]
|
|
||||||
},
|
|
||||||
},
|
|
||||||
);
|
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -16,6 +16,9 @@
|
||||||
"autoprefixer": "^10.4.17",
|
"autoprefixer": "^10.4.17",
|
||||||
"axios": "^1.6.6",
|
"axios": "^1.6.6",
|
||||||
"dayjs": "^1.11.10",
|
"dayjs": "^1.11.10",
|
||||||
|
"eslint": "^8.56.0",
|
||||||
|
"eslint-config-prettier": "^8.10.0",
|
||||||
|
"eslint-plugin-vue": "^8.7.1",
|
||||||
"postcss": "^8.4.33",
|
"postcss": "^8.4.33",
|
||||||
"tailwindcss": "^3.4.1",
|
"tailwindcss": "^3.4.1",
|
||||||
"vue-axios": "^3.5.2"
|
"vue-axios": "^3.5.2"
|
||||||
|
@ -31,8 +34,6 @@
|
||||||
"@vitejs/plugin-vue": "^4.6.2",
|
"@vitejs/plugin-vue": "^4.6.2",
|
||||||
"change-case": "^4.1.2",
|
"change-case": "^4.1.2",
|
||||||
"editorjs-alert": "^1.1.3",
|
"editorjs-alert": "^1.1.3",
|
||||||
"eslint": "^9.28.0",
|
|
||||||
"eslint-plugin-vue": "^10.2.0",
|
|
||||||
"floating-vue": "^2.0.0",
|
"floating-vue": "^2.0.0",
|
||||||
"laravel-echo": "^1.15.3",
|
"laravel-echo": "^1.15.3",
|
||||||
"laravel-vite-plugin": "^0.7.8",
|
"laravel-vite-plugin": "^0.7.8",
|
||||||
|
@ -40,9 +41,9 @@
|
||||||
"merge": "^2.1.1",
|
"merge": "^2.1.1",
|
||||||
"pinia": "^2.1.7",
|
"pinia": "^2.1.7",
|
||||||
"postcss-import": "^14.1.0",
|
"postcss-import": "^14.1.0",
|
||||||
|
"prettier": "^2.8.8",
|
||||||
"pusher-js": "^8.3.0",
|
"pusher-js": "^8.3.0",
|
||||||
"svg-sprite": "^2.0.2",
|
"svg-sprite": "^2.0.2",
|
||||||
"typescript-eslint": "^8.34.0",
|
|
||||||
"vite": "^4.5.2",
|
"vite": "^4.5.2",
|
||||||
"vue": "^3.3.4",
|
"vue": "^3.3.4",
|
||||||
"vue-toastification": "^2.0.0-rc.5",
|
"vue-toastification": "^2.0.0-rc.5",
|
||||||
|
|
|
@ -41,11 +41,6 @@ class MemberIndexTest extends EndToEndTestCase
|
||||||
$this->callFilter('member.index', [])->assertInertiaPath('data.meta.default.country_id', Country::firstWhere('name', 'Deutschland')->id);
|
$this->callFilter('member.index', [])->assertInertiaPath('data.meta.default.country_id', Country::firstWhere('name', 'Deutschland')->id);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function testItGetsDefaultBankAccount(): void
|
|
||||||
{
|
|
||||||
$this->callFilter('member.index', [])->assertInertiaPath('data.meta.default.bank_account.bic', '');
|
|
||||||
}
|
|
||||||
|
|
||||||
public function testItHandlesAddress(): void
|
public function testItHandlesAddress(): void
|
||||||
{
|
{
|
||||||
Member::factory()->defaults()->create(['address' => '']);
|
Member::factory()->defaults()->create(['address' => '']);
|
||||||
|
|
|
@ -1,59 +0,0 @@
|
||||||
{
|
|
||||||
"compilerOptions": {
|
|
||||||
// Most non-library projects don't need to emit declarations.
|
|
||||||
// So we add this option by default to make the config more friendly to most users.
|
|
||||||
"noEmit": true,
|
|
||||||
|
|
||||||
// As long as you are using a build tool, we recommend you to author and ship in ES modules.
|
|
||||||
// Even if you are targeting Node.js, because
|
|
||||||
// - `CommonJS` is too outdated
|
|
||||||
// - the ecosystem hasn't fully caught up with `Node16`/`NodeNext`
|
|
||||||
// This recommendation includes environments like Vitest, Vite Config File, Vite SSR, etc.
|
|
||||||
"module": "ESNext",
|
|
||||||
|
|
||||||
// We expect users to use bundlers.
|
|
||||||
// So here we enable some resolution features that are only available in bundlers.
|
|
||||||
"moduleResolution": "bundler",
|
|
||||||
"resolveJsonModule": true,
|
|
||||||
"allowImportingTsExtensions": true,
|
|
||||||
// Even files without `import` or `export` are treated as modules.
|
|
||||||
// It helps to avoid mysterious errors such as `Cannot redeclare block-scoped variable 'name`.
|
|
||||||
// https://www.totaltypescript.com/cannot-redeclare-block-scoped-variable#solution-3-your-module-isnt-a-module
|
|
||||||
"moduleDetection": "force",
|
|
||||||
|
|
||||||
// Required in Vue projects
|
|
||||||
"jsx": "preserve",
|
|
||||||
"jsxImportSource": "vue",
|
|
||||||
|
|
||||||
// `"noImplicitThis": true` is part of `strict`
|
|
||||||
// Added again here in case some users decide to disable `strict`.
|
|
||||||
// This enables stricter inference for data properties on `this`.
|
|
||||||
"noImplicitThis": true,
|
|
||||||
"strict": true,
|
|
||||||
|
|
||||||
// <https://devblogs.microsoft.com/typescript/announcing-typescript-5-0/#verbatimmodulesyntax>
|
|
||||||
// Any imports or exports without a type modifier are left around. This is important for `<script setup>`.
|
|
||||||
// Anything that uses the type modifier is dropped entirely.
|
|
||||||
"verbatimModuleSyntax": true,
|
|
||||||
|
|
||||||
// A few notes:
|
|
||||||
// - Vue 3 supports ES2016+
|
|
||||||
// - For Vite, the actual compilation target is determined by the
|
|
||||||
// `build.target` option in the Vite config.
|
|
||||||
// So don't change the `target` field here. It has to be
|
|
||||||
// at least `ES2020` for dynamic `import()`s and `import.meta` to work correctly.
|
|
||||||
// - If you are not using Vite, feel free to overwrite the `target` field.
|
|
||||||
"target": "ESNext",
|
|
||||||
// For spec compliance.
|
|
||||||
// `true` by default if the `target` is `ES2020` or higher.
|
|
||||||
// Explicitly set it to `true` here in case some users want to overwrite the `target`.
|
|
||||||
"useDefineForClassFields": true,
|
|
||||||
|
|
||||||
// Recommended
|
|
||||||
"esModuleInterop": true,
|
|
||||||
"forceConsistentCasingInFileNames": true,
|
|
||||||
// See <https://github.com/vuejs/vue-cli/pull/5688>
|
|
||||||
"skipLibCheck": true,
|
|
||||||
"types": ["vite/client"]
|
|
||||||
}
|
|
||||||
}
|
|
Loading…
Reference in New Issue