Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
Signed-off-by: Pedro Lamas <[email protected]>
  • Loading branch information
pedrolamas committed Nov 24, 2024
2 parents 894aa23 + 64360bf commit 3958e5f
Show file tree
Hide file tree
Showing 136 changed files with 2,875 additions and 1,603 deletions.
19 changes: 0 additions & 19 deletions .eslintrc.cjs

This file was deleted.

2 changes: 1 addition & 1 deletion .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FILES_TO_LINT=$(git diff --cached --name-only --diff-filter=ACM | grep -iE "\.(js|jsx|ts|tsx|vue)$" || true)
FILES_TO_LINT=$(git diff --cached --name-only --diff-filter=ACM | grep -iE "\.(js|jsx|mjs|ts|tsx|vue)$" || true)

if [ -n "$FILES_TO_LINT" ]; then
npx --no eslint -- --max-warnings 0 $FILES_TO_LINT
Expand Down
1 change: 1 addition & 0 deletions components.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ declare module 'vue' {
AppChart: typeof import('./src/components/ui/AppChart.vue')['default']
AppColorPicker: typeof import('./src/components/ui/AppColorPicker.vue')['default']
AppColumnPicker: typeof import('./src/components/ui/AppColumnPicker.vue')['default']
AppDataTableRow: typeof import('./src/components/ui/AppDataTableRow.vue')['default']
AppDialog: typeof import('./src/components/ui/AppDialog.vue')['default']
AppDraggable: typeof import('./src/components/ui/AppDraggable.vue')['default']
AppDragOverlay: typeof import('./src/components/ui/AppDragOverlay.vue')['default']
Expand Down
35 changes: 35 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
import pluginVue from 'eslint-plugin-vue'
import * as pluginRegexp from 'eslint-plugin-regexp'
import neostandard from 'neostandard'
import vueTsEslintConfig from '@vue/eslint-config-typescript'

export default [
{
name: 'app/files-to-lint',
files: ['**/*.{ts,mts,tsx,vue}'],
},
{
name: 'app/files-to-ignore',
ignores: [
'dist/**',
'dev-dist/**',
'docs/_site/**'
]
},
...pluginVue.configs['flat/vue2-recommended'],
pluginRegexp.configs['flat/recommended'],
...neostandard(),
...vueTsEslintConfig(),
{
rules: {
'no-console': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
camelcase: 'off',
'no-use-before-define': 'off',
'vue/no-v-html': 'off',
'vue/no-v-text-v-html-on-component': 'off',
'@typescript-eslint/no-explicit-any': 'off',
'@typescript-eslint/no-empty-object-type': 'off'
}
}
]
Loading

0 comments on commit 3958e5f

Please sign in to comment.