@kouts/eslint-config 2.0.1 → 2.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +5 -1
- package/dist/index.js +5 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -498,7 +498,9 @@ const vue = (options) => {
|
|
|
498
498
|
svg: "always",
|
|
499
499
|
math: "always"
|
|
500
500
|
}
|
|
501
|
-
]
|
|
501
|
+
],
|
|
502
|
+
// Enforce dot notation whenever possible in `<template>`
|
|
503
|
+
"vue/dot-notation": ["error"]
|
|
502
504
|
}
|
|
503
505
|
}
|
|
504
506
|
];
|
|
@@ -553,6 +555,8 @@ const config = (options) => {
|
|
|
553
555
|
// Console and debugger settings depending whether we're on production or not
|
|
554
556
|
"no-console": process.env.NODE_ENV === "production" ? "warn" : "off",
|
|
555
557
|
"no-debugger": process.env.NODE_ENV === "production" ? "warn" : "off",
|
|
558
|
+
// Enforce dot notation
|
|
559
|
+
"dot-notation": ["error"],
|
|
556
560
|
// Import rules
|
|
557
561
|
...opts.ts ? {
|
|
558
562
|
"import-x/named": "off",
|
package/dist/index.js
CHANGED
|
@@ -497,7 +497,9 @@ const vue = (options) => {
|
|
|
497
497
|
svg: "always",
|
|
498
498
|
math: "always"
|
|
499
499
|
}
|
|
500
|
-
]
|
|
500
|
+
],
|
|
501
|
+
// Enforce dot notation whenever possible in `<template>`
|
|
502
|
+
"vue/dot-notation": ["error"]
|
|
501
503
|
}
|
|
502
504
|
}
|
|
503
505
|
];
|
|
@@ -552,6 +554,8 @@ const config = (options) => {
|
|
|
552
554
|
// Console and debugger settings depending whether we're on production or not
|
|
553
555
|
"no-console": process.env.NODE_ENV === "production" ? "warn" : "off",
|
|
554
556
|
"no-debugger": process.env.NODE_ENV === "production" ? "warn" : "off",
|
|
557
|
+
// Enforce dot notation
|
|
558
|
+
"dot-notation": ["error"],
|
|
555
559
|
// Import rules
|
|
556
560
|
...opts.ts ? {
|
|
557
561
|
"import-x/named": "off",
|