eslint-plugin-crisp 1.2.13 → 1.3.0

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/README.md CHANGED
@@ -100,7 +100,7 @@ Each item has emojis denoting:
100
100
  | [padded-blocks](https://eslint.org/docs/latest/rules/padded-blocks) | Disallows empty lines at the beginning and ending of blocks | 🟠 | 🟢 | 🟣 |
101
101
  | [padding-line-between-statements](https://eslint.org/docs/latest/rules/padding-line-between-statements) | Requires padding lines between various statements | 🟠 | 🟢 | 🟣 |
102
102
  | [prefer-arrow-callback](https://eslint.org/docs/latest/rules/prefer-arrow-callback) | Requires using arrow functions for callbacks | | 🟢 | 🟣 |
103
- | [prefer-object-spread](https://eslint.org/docs/latest/rules/prefer-object-spread) | Requires using object spread syntax instead of `Object.assign` on object literal | | 🟢 | |
103
+ | [prefer-object-spread](https://eslint.org/docs/latest/rules/prefer-object-spread) | Requires using object spread syntax instead of `Object.assign` on object literal | 🟠 | 🟢 | 🟣 |
104
104
  | [quotes](https://eslint.org/docs/latest/rules/quotes) | Enforces the consistent use of double quotes (while allowing single quotes in order to avoid escape, and backticks for template literals) | 🟠 | 🟢 | 🟣 |
105
105
  | [quote-props](https://eslint.org/docs/latest/rules/quote-props) | Disallows quotes around object literal property names that are not strictly required | 🟠 | 🟢 | 🟣 |
106
106
  | [semi](https://eslint.org/docs/latest/rules/semi) | Requires semicolons at the end of statements | 🟠 | 🟢 | 🟣 |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-plugin-crisp",
3
- "version": "1.2.13",
3
+ "version": "1.3.0",
4
4
  "description": "Custom ESLint Rules for Crisp",
5
5
  "author": "Crisp IM SAS",
6
6
  "main": "index.js",
@@ -19,9 +19,9 @@
19
19
  "eslint-plugin-jsdoc": "50.8.0"
20
20
  },
21
21
  "peerDependencies": {
22
- "eslint": "9.29.0",
23
- "eslint-plugin-vue": "10.2.0",
24
- "eslint-plugin-vue-pug": "1.0.0-alpha.3",
22
+ "eslint": "9.39.1",
23
+ "eslint-plugin-vue": "10.8.0",
24
+ "eslint-plugin-vue-pug": "1.0.0-alpha.5",
25
25
  "globals": "15.15.0",
26
26
  "typescript-eslint": "8.41.0"
27
27
  },
package/recommended-ts.js CHANGED
@@ -132,6 +132,7 @@ export default function configRecommendedTS(pluginCrisp) {
132
132
  { "blankLine": "always", "prev": "break", "next": "*" }
133
133
  ],
134
134
  "prefer-arrow-callback": "error",
135
+ "prefer-object-spread": "error",
135
136
  "quotes": [
136
137
  "error",
137
138
  "double",
package/recommended.js CHANGED
@@ -136,6 +136,7 @@ export default function configRecommended(pluginCrisp) {
136
136
  { "blankLine": "always", "prev": "continue", "next": "*" },
137
137
  { "blankLine": "always", "prev": "break", "next": "*" }
138
138
  ],
139
+ "prefer-object-spread": "error",
139
140
  "quotes": [
140
141
  "error",
141
142
  "double",