@momsfriendlydevco/eslint-config 2.0.3 → 2.0.4
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/index.js +2 -4
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -20,9 +20,6 @@ let jsCommonRules = {
|
|
|
20
20
|
'jsdoc/no-undefined-types': ['warn', {disableReporting: true}], // Disable the JSDoc parser for "undefined" types which it usually gets wrong. Ask eslint to still mark these as used though
|
|
21
21
|
'jsdoc/require-returns-description': ['off'], // Disable the JSDoc parse being fussy about return descriptions
|
|
22
22
|
'jsdoc/tag-lines': ['off'], // Disable the JSDoc parser being fussy about new-line spacing
|
|
23
|
-
|
|
24
|
-
// Vue
|
|
25
|
-
'vue/no-v-html': ['off'], // Disable Vue complaining about v-html being used
|
|
26
23
|
};
|
|
27
24
|
|
|
28
25
|
export default [
|
|
@@ -121,7 +118,7 @@ export default [
|
|
|
121
118
|
'vue/html-closing-bracket-spacing': ['warn', {
|
|
122
119
|
selfClosingTag: 'never'
|
|
123
120
|
}],
|
|
124
|
-
'vue/html-indent': ['
|
|
121
|
+
'vue/html-indent': ['warn', 'tab'],
|
|
125
122
|
'vue/html-self-closing': ['warn', {
|
|
126
123
|
html: {
|
|
127
124
|
void: 'always',
|
|
@@ -138,6 +135,7 @@ export default [
|
|
|
138
135
|
allowEmptyLines: true,
|
|
139
136
|
}],
|
|
140
137
|
'vue/mustache-interpolation-spacing': ['warn', 'never'],
|
|
138
|
+
'vue/no-v-html': ['off'], // Disable Vue complaining about v-html being used
|
|
141
139
|
'vue/order-in-components': ['warn', {
|
|
142
140
|
'order': [
|
|
143
141
|
'el',
|
package/package.json
CHANGED