@dword-design/eslint-config 4.0.1 → 5.0.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.
@@ -51,7 +51,7 @@ export default (() => {
51
51
  },
52
52
  parser: packageName`@babel/eslint-parser`
53
53
  },
54
- plugins: [packageName`eslint-plugin-prefer-arrow`, packageName`eslint-plugin-simple-import-sort`, packageName`eslint-plugin-json-format`, packageName`eslint-plugin-sort-keys-fix`, packageName`eslint-plugin-react`, packageName`eslint-plugin-github`, packageName`eslint-plugin-unicorn`],
54
+ plugins: [packageName`eslint-plugin-prefer-arrow`, packageName`eslint-plugin-simple-import-sort`, packageName`eslint-plugin-json-format`, packageName`eslint-plugin-sort-keys-fix`, packageName`eslint-plugin-github`, packageName`eslint-plugin-unicorn`],
55
55
  rules: {
56
56
  'arrow-body-style': ['error', 'as-needed'],
57
57
  'func-names': ['error', 'never'],
@@ -112,15 +112,13 @@ export default (() => {
112
112
  }],
113
113
  'prefer-arrow/prefer-arrow-functions': ['error'],
114
114
  'prefer-destructuring': 'off',
115
- 'prettier/prettier': ['error', {
115
+ [`${packageName`prettier`}/prettier`]: ['error', {
116
116
  arrowParens: 'avoid',
117
117
  semi: false,
118
118
  singleQuote: true,
119
119
  trailingComma: 'all'
120
120
  }],
121
121
  'promise/prefer-await-to-then': 'error',
122
- 'react/jsx-boolean-value': 'error',
123
- 'react/jsx-sort-props': 'error',
124
122
  'require-await': 'error',
125
123
  'simple-import-sort/imports': 'error',
126
124
  'sort-keys-fix/sort-keys-fix': 'error',
@@ -135,8 +133,12 @@ export default (() => {
135
133
  xml: true
136
134
  })
137
135
  }],
136
+ 'vue/attributes-order': ['error', {
137
+ alphabetical: true
138
+ }],
138
139
  'vue/no-deprecated-functional-template': 'error',
139
140
  'vue/order-in-components': 'off',
141
+ 'vue/prefer-true-attribute-shorthand': 'error',
140
142
  'vue/require-default-prop': 'off',
141
143
  'vue/require-prop-types': 'off'
142
144
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dword-design/eslint-config",
3
- "version": "4.0.1",
3
+ "version": "5.0.1",
4
4
  "repository": "dword-design/eslint-config",
5
5
  "funding": "https://github.com/sponsors/dword-design",
6
6
  "license": "MIT",
@@ -27,37 +27,36 @@
27
27
  "@dword-design/functions": "^5.0.22",
28
28
  "depcheck-package-name": "^3.0.0",
29
29
  "eslint-config-airbnb-base": "^15.0.0",
30
- "eslint-config-prettier": "^8.0.0",
30
+ "eslint-config-prettier": "^9.1.0",
31
31
  "eslint-import-resolver-babel-module": "^5.3.0",
32
32
  "eslint-import-resolver-exports": "^1.0.0-beta.5",
33
33
  "eslint-plugin-github": "^4.1.3",
34
- "eslint-plugin-import": "~2.27.0",
34
+ "eslint-plugin-import": "^2.29.1",
35
35
  "eslint-plugin-json-format": "^2.0.1",
36
36
  "eslint-plugin-prefer-arrow": "^1.1.6",
37
- "eslint-plugin-prettier": "^4.0.0",
37
+ "eslint-plugin-prettier": "^5.1.3",
38
38
  "eslint-plugin-promise": "^6.1.1",
39
- "eslint-plugin-react": "^7.20.0",
40
39
  "eslint-plugin-simple-import-sort": "^10.0.0",
41
40
  "eslint-plugin-sort-keys-fix": "^1.1.1",
42
- "eslint-plugin-unicorn": "^46.0.0",
41
+ "eslint-plugin-unicorn": "^50.0.1",
43
42
  "eslint-plugin-vue": "^9.10.0",
44
43
  "jiti": "^1.18.2",
45
44
  "load-pkg": "^4.0.0",
46
- "prettier": "^2.1.1",
45
+ "prettier": "^3.2.4",
47
46
  "vue-eslint-parser": "^9.1.1"
48
47
  },
49
48
  "devDependencies": {
50
- "@dword-design/base": "^10.1.0",
49
+ "@dword-design/base": "^11.0.1",
51
50
  "deepmerge": "^4.2.2",
52
51
  "eslint": "^8.35.0",
53
- "execa": "^7.1.1",
52
+ "execa": "^8.0.1",
54
53
  "fs-extra": "^11.1.1",
55
54
  "node-version": "^3.0.0",
56
55
  "output-files": "^2.0.0",
57
56
  "with-local-tmp-dir": "^5.0.0"
58
57
  },
59
58
  "engines": {
60
- "node": ">=16"
59
+ "node": ">=18"
61
60
  },
62
61
  "publishConfig": {
63
62
  "access": "public"