@alicevia/eslint-config-vue 1.0.10 → 1.0.13

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. package/index.js +24 -8
  2. package/package.json +4 -13
package/index.js CHANGED
@@ -1,10 +1,26 @@
1
1
  module.exports = {
2
- parser: 'vue-eslint-parser',
3
- parserOptions: {
4
- parser: '@typescript-eslint/parser',
5
- },
6
- extends: ['@alicevia/eslint-config-ts', 'plugin:vue/vue3-recommended'],
7
- rules: {
8
- 'vue/multi-word-component-names': 0,
9
- },
2
+ overrides: [
3
+ {
4
+ files: ['*.vue'],
5
+ parser: 'vue-eslint-parser',
6
+ parserOptions: {
7
+ parser: '@typescript-eslint/parser'
8
+ },
9
+ extends: ['plugin:vue/vue3-recommended', '@alicevia/basic'],
10
+ rules: {
11
+ 'vue/multi-word-component-names': 0,
12
+ 'vue/html-self-closing': ['error', {
13
+ html: {
14
+ void: 'never',
15
+ normal: 'never',
16
+ component: 'never'
17
+ },
18
+ svg: 'always',
19
+ math: 'always'
20
+ }],
21
+ 'vue/max-attributes-per-line': 'off'
22
+
23
+ }
24
+ }
25
+ ]
10
26
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alicevia/eslint-config-vue",
3
- "version": "1.0.10",
3
+ "version": "1.0.13",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "files": [
@@ -13,18 +13,9 @@
13
13
  "access": "public"
14
14
  },
15
15
  "dependencies": {
16
- "@alicevia/eslint-config-ts": "1.0.10"
17
- },
18
- "peerDependencies": {
19
- "eslint": ">=8.15.0",
20
- "eslint-plugin-vue": "^8.7.1",
21
- "vue-eslint-parser": "^9.0.2",
22
- "@typescript-eslint/eslint-plugin": "^5.24.0",
23
- "@typescript-eslint/parser": "^5.24.0",
24
- "eslint-config-standard": "^17.0.0",
25
- "eslint-plugin-import": "^2.26.0",
26
- "eslint-plugin-n": "^15.2.0",
27
- "eslint-plugin-promise": "^6.0.0"
16
+ "@alicevia/eslint-config-ts": "1.0.13",
17
+ "eslint-plugin-vue": "^9.0.1",
18
+ "vue-eslint-parser": "^9.0.2"
28
19
  },
29
20
  "scripts": {
30
21
  "patch": "npm version patch"