quasar-ui-danx 0.3.7 → 0.3.8

Sign up to get free protection for your applications and to get access to all the features.
package/.eslintrc.cjs ADDED
@@ -0,0 +1,37 @@
1
+ module.exports = {
2
+ root: true,
3
+
4
+ parser: "vue-eslint-parser",
5
+ parserOptions: {
6
+ ecmaVersion: "latest",
7
+ sourceType: "module",
8
+ parser: "@typescript-eslint/parser",
9
+ project: "./tsconfig.json", // Specify it only for TypeScript files
10
+ extraFileExtensions: [".vue"]
11
+ },
12
+
13
+ env: {
14
+ node: true,
15
+ browser: true,
16
+ "vue/setup-compiler-macros": true
17
+ },
18
+
19
+ extends: [
20
+ "eslint:recommended",
21
+ "plugin:vue/vue3-recommended", // Priority C: Recommended
22
+ "plugin:@typescript-eslint/recommended"
23
+ ],
24
+
25
+ plugins: [
26
+ "vue",
27
+ "@typescript-eslint",
28
+ "import"
29
+ ],
30
+
31
+ rules: {
32
+ "prefer-promise-reject-errors": "off",
33
+ "no-debugger":
34
+ process.env.NODE_ENV === "production" ? "error" : "off",
35
+ "import/extensions": ["error", "never"]
36
+ }
37
+ };