@iqrf/eslint-config 0.2.0 → 0.2.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.
Files changed (2) hide show
  1. package/dist/index.js +27 -0
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -152,8 +152,10 @@ var javascript = (options) => [
152
152
  "error",
153
153
  "unix"
154
154
  ],
155
+ "no-useless-concat": "error",
155
156
  "no-unused-vars": options.typescript ? "off" : "warn",
156
157
  "prefer-const": "error",
158
+ "prefer-template": "error",
157
159
  "quotes": [
158
160
  "error",
159
161
  "single"
@@ -632,6 +634,14 @@ var vue = (options) => [
632
634
  }
633
635
  },
634
636
  rules: {
637
+ "vue/comma-dangle": [
638
+ "error",
639
+ "always-multiline"
640
+ ],
641
+ "vue/eqeqeq": [
642
+ "error",
643
+ "always"
644
+ ],
635
645
  "vue/html-indent": [
636
646
  "warn",
637
647
  "tab"
@@ -645,6 +655,23 @@ var vue = (options) => [
645
655
  { singleline: 3 }
646
656
  ],
647
657
  "vue/multi-word-component-names": "off",
658
+ "vue/no-constant-condition": "error",
659
+ "vue/no-extra-parens": [
660
+ "error",
661
+ "all",
662
+ {
663
+ "nestedBinaryExpressions": false,
664
+ "ternaryOperandBinaryExpressions": false
665
+ }
666
+ ],
667
+ "vue/no-sparse-arrays": "error",
668
+ "vue/no-useless-concat": "error",
669
+ "vue/object-curly-spacing": [
670
+ "error",
671
+ "always"
672
+ ],
673
+ "vue/prefer-template": "error",
674
+ "vue/space-unary-ops": "error",
648
675
  "vue/valid-v-slot": [
649
676
  "error",
650
677
  { allowModifiers: options.vuetify }
package/package.json CHANGED
@@ -85,7 +85,7 @@
85
85
  },
86
86
  "type": "module",
87
87
  "types": "dist/index.d.ts",
88
- "version": "0.2.0",
88
+ "version": "0.2.1",
89
89
  "scripts": {
90
90
  "build": "tsup",
91
91
  "lint": "eslint .",