Skip to content

Commit 3958e5f

Browse files
committed
Merge branch 'develop'
Signed-off-by: Pedro Lamas <[email protected]>
2 parents 894aa23 + 64360bf commit 3958e5f

File tree

136 files changed

+2875
-1603
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

136 files changed

+2875
-1603
lines changed

.eslintrc.cjs

Lines changed: 0 additions & 19 deletions
This file was deleted.

.husky/pre-commit

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FILES_TO_LINT=$(git diff --cached --name-only --diff-filter=ACM | grep -iE "\.(js|jsx|ts|tsx|vue)$" || true)
1+
FILES_TO_LINT=$(git diff --cached --name-only --diff-filter=ACM | grep -iE "\.(js|jsx|mjs|ts|tsx|vue)$" || true)
22

33
if [ -n "$FILES_TO_LINT" ]; then
44
npx --no eslint -- --max-warnings 0 $FILES_TO_LINT

components.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ declare module 'vue' {
1919
AppChart: typeof import('./src/components/ui/AppChart.vue')['default']
2020
AppColorPicker: typeof import('./src/components/ui/AppColorPicker.vue')['default']
2121
AppColumnPicker: typeof import('./src/components/ui/AppColumnPicker.vue')['default']
22+
AppDataTableRow: typeof import('./src/components/ui/AppDataTableRow.vue')['default']
2223
AppDialog: typeof import('./src/components/ui/AppDialog.vue')['default']
2324
AppDraggable: typeof import('./src/components/ui/AppDraggable.vue')['default']
2425
AppDragOverlay: typeof import('./src/components/ui/AppDragOverlay.vue')['default']

eslint.config.mjs

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
import pluginVue from 'eslint-plugin-vue'
2+
import * as pluginRegexp from 'eslint-plugin-regexp'
3+
import neostandard from 'neostandard'
4+
import vueTsEslintConfig from '@vue/eslint-config-typescript'
5+
6+
export default [
7+
{
8+
name: 'app/files-to-lint',
9+
files: ['**/*.{ts,mts,tsx,vue}'],
10+
},
11+
{
12+
name: 'app/files-to-ignore',
13+
ignores: [
14+
'dist/**',
15+
'dev-dist/**',
16+
'docs/_site/**'
17+
]
18+
},
19+
...pluginVue.configs['flat/vue2-recommended'],
20+
pluginRegexp.configs['flat/recommended'],
21+
...neostandard(),
22+
...vueTsEslintConfig(),
23+
{
24+
rules: {
25+
'no-console': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
26+
'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
27+
camelcase: 'off',
28+
'no-use-before-define': 'off',
29+
'vue/no-v-html': 'off',
30+
'vue/no-v-text-v-html-on-component': 'off',
31+
'@typescript-eslint/no-explicit-any': 'off',
32+
'@typescript-eslint/no-empty-object-type': 'off'
33+
}
34+
}
35+
]

0 commit comments

Comments
 (0)