Skip to content

Commit c26215b

Browse files
lint errors
1 parent 242628c commit c26215b

File tree

129 files changed

+6856
-2940
lines changed

Some content is hidden

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

129 files changed

+6856
-2940
lines changed

eslint.config.js

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
import { defineConfig } from "eslint/config";
2+
import pluginVue from "eslint-plugin-vue";
3+
4+
export default defineConfig([
5+
...pluginVue.configs["flat/recommended"],
6+
{
7+
files: ["resources/js/**/*.js"],
8+
languageOptions: {
9+
ecmaVersion: 2021,
10+
sourceType: 'module',
11+
},
12+
rules: {
13+
semi: [
14+
"error",
15+
"always"
16+
],
17+
"prefer-const": "warn",
18+
"no-unused-vars": "warn",
19+
"vue/multi-word-component-names": "warn",
20+
"vue/require-v-for-key": "warn",
21+
"vue/one-component-per-file": "warn",
22+
"vue/no-reserved-component-names": "warn",
23+
"vue/no-unused-vars": 0,
24+
"vue/html-self-closing": 0,
25+
"@typescript-eslint/no-empty-function": 0,
26+
"no-useless-catch": 0,
27+
"@typescript-eslint/no-unused-vars": 0,
28+
"vue/no-unused-components": 0,
29+
"vue/require-explicit-emits": 0,
30+
"no-undef": 0
31+
},
32+
},
33+
]);

package-lock.json

Lines changed: 65 additions & 66 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"build": "vite build"
77
},
88
"devDependencies": {
9-
"@babel/eslint-parser": "^7.26.8",
9+
"@babel/eslint-parser": "^7.27.0",
1010
"@eslint/eslintrc": "^3.2.0",
1111
"@eslint/js": "^9.19.0",
1212
"@heroicons/vue": "^2.2.0",
@@ -29,7 +29,7 @@
2929
"core-js": "^3.40.0",
3030
"cross-env": "^7.0.3",
3131
"eslint": "^9.21.0",
32-
"eslint-plugin-vue": "^9.32.0",
32+
"eslint-plugin-vue": "^9.33.0",
3333
"globals": "^15.14.0",
3434
"html-webpack-plugin": "^5.6.3",
3535
"laravel-vite-plugin": "^1.2.0",

0 commit comments

Comments
 (0)