@alexlit/lint-kit 129.1.0 → 129.1.1
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/package.json
CHANGED
|
@@ -8,7 +8,8 @@ export const sonar = [
|
|
|
8
8
|
sonar: plugin,
|
|
9
9
|
},
|
|
10
10
|
rules: {
|
|
11
|
-
'sonarjs/
|
|
11
|
+
'sonarjs/no-commented-code': 'warn',
|
|
12
|
+
'sonarjs/no-vue-bypass-sanitization': 'warn',
|
|
12
13
|
'sonarjs/todo-tag': 'warn',
|
|
13
14
|
},
|
|
14
15
|
},
|
|
@@ -1,4 +1,11 @@
|
|
|
1
1
|
import plugin from '@unocss/eslint-config/flat';
|
|
2
2
|
|
|
3
3
|
/** @see [@unocss/eslint-config](https://unocss.dev/integrations/eslint) */
|
|
4
|
-
export const unocss = [
|
|
4
|
+
export const unocss = [
|
|
5
|
+
plugin,
|
|
6
|
+
{
|
|
7
|
+
rules: {
|
|
8
|
+
'unocss/order-attributify': 'off',
|
|
9
|
+
},
|
|
10
|
+
},
|
|
11
|
+
];
|
|
@@ -95,7 +95,7 @@ export const vue = [
|
|
|
95
95
|
'vue/no-restricted-component-options': ['error'],
|
|
96
96
|
'vue/no-restricted-props': ['error'],
|
|
97
97
|
'vue/no-root-v-if': ['error'],
|
|
98
|
-
'vue/no-setup-props-reactivity-loss':
|
|
98
|
+
'vue/no-setup-props-reactivity-loss': 'off',
|
|
99
99
|
'vue/no-static-inline-styles': ['error', { allowBinding: true }],
|
|
100
100
|
'vue/no-this-in-before-route-enter': ['error'],
|
|
101
101
|
'vue/no-unsupported-features': ['error'],
|