Skip to content

Commit

Permalink
Ran formatter.
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-cintra committed Oct 19, 2024
1 parent 450ae24 commit 59fa5d7
Show file tree
Hide file tree
Showing 2 changed files with 52 additions and 53 deletions.
103 changes: 51 additions & 52 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -1,65 +1,64 @@
import js from '@eslint/js';
import vue from 'eslint-plugin-vue';
import vueParser from 'vue-eslint-parser';
import prettierConfig from 'eslint-config-prettier';
import js from '@eslint/js'
import vue from 'eslint-plugin-vue'
import vueParser from 'vue-eslint-parser'
import prettierConfig from 'eslint-config-prettier'

export default [
// Base ESLint recommended rules
js.configs.recommended,

// Base ESLint recommended rules
js.configs.recommended,
// Vue plugin configuration
{
files: ['**/*.vue'],
languageOptions: {
parser: vueParser,
parserOptions: {
ecmaVersion: 'latest',
sourceType: 'module'
}
},
plugins: {
vue
},
rules: {
// Combine base and recommended Vue rules
...vue.configs.base.rules,
...vue.configs['vue3-recommended'].rules,

// Vue plugin configuration
{
files: ['**/*.vue'],
languageOptions: {
parser: vueParser,
parserOptions: {
ecmaVersion: 'latest',
sourceType: 'module',
},
},
plugins: {
vue,
},
rules: {
// Combine base and recommended Vue rules
...vue.configs.base.rules,
...vue.configs['vue3-recommended'].rules,

// Disable specific Vue rules
'vue/no-v-html': 'off',
'vue/comment-directive': 'off', // Previously disabled
// Disable specific Vue rules
'vue/no-v-html': 'off',
'vue/comment-directive': 'off' // Previously disabled

// You can add other Vue-specific rules here
// You can add other Vue-specific rules here
}
},
},

// General JavaScript rules (for .js and .vue files)
{
files: ['**/*.{js,vue}'],
rules: {
// Disable general ESLint rules
'no-unused-vars': 'off',
'no-undef': 'off',
// General JavaScript rules (for .js and .vue files)
{
files: ['**/*.{js,vue}'],
rules: {
// Disable general ESLint rules
'no-unused-vars': 'off',
'no-undef': 'off'
}
},
},

// Prettier configuration to disable conflicting rules
{
rules: {
...prettierConfig.rules,
// Prettier configuration to disable conflicting rules
{
rules: {
...prettierConfig.rules
}
},
},

// Custom rules (if any)
{
rules: {
// Add your custom rules here
// Custom rules (if any)
{
rules: {
// Add your custom rules here
}
},
},

// Ignore patterns
{
ignores: ['node_modules/*', 'vendor/*'],
},
];
// Ignore patterns
{
ignores: ['node_modules/*', 'vendor/*']
}
]
2 changes: 1 addition & 1 deletion stubs/resources/js/Components/Auth/AppAuthLogo.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
<a href="#" class="mb-6 flex items-center">
<img class="w-48" src="@resources/images/logo.svg" alt="logo" />
</a>
</template>
</template>

0 comments on commit 59fa5d7

Please sign in to comment.