@momsfriendlydevco/eslint-config 1.0.3 → 1.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.
Files changed (2) hide show
  1. package/index.js +8 -0
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -1,6 +1,7 @@
1
1
  // Rules shared by both .doop + .vue files
2
2
  let vueCommonRules = {
3
3
  'html-closing-bracket-spacing': ['off'], // Annoying doesn't allow <this-kind-of-thing/>
4
+ 'no-debugger': ['warn'], // Debuggers are fine, just warn
4
5
  'no-useless-escape': ['off'], // ESlint frequently gets what should and shouldn't be escaped wrong
5
6
  'no-unused-vars': ['warn'], // Dont make unused vars the end of the world
6
7
  };
@@ -68,6 +69,13 @@ module.exports = {
68
69
  selfClosingTag: 'never'
69
70
  }],
70
71
  'vue/html-indent': ['error', 'tab'],
72
+ 'vue/html-self-closing': ['warn', {
73
+ html: {
74
+ void: 'always',
75
+ normal: 'any',
76
+ component: 'always',
77
+ },
78
+ }],
71
79
  'vue/max-attributes-per-line': ['warn', {
72
80
  singleline: 4,
73
81
  multiline: 1,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@momsfriendlydevco/eslint-config",
3
- "version": "1.0.3",
3
+ "version": "1.0.4",
4
4
  "description": "ESLint plugin for @MomsFriendlyDevCo projects",
5
5
  "main": "index.js",
6
6
  "scripts": {