eslint-plugin-crisp 1.2.12 → 1.2.14
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/.github/workflows/build.yml +1 -3
- package/README.md +1 -0
- package/package.json +1 -1
- package/recommended-ts.js +1 -0
- package/recommended-vue.js +1 -0
- package/recommended.js +1 -0
|
@@ -20,7 +20,7 @@ jobs:
|
|
|
20
20
|
- name: Install NodeJS
|
|
21
21
|
uses: actions/setup-node@v1
|
|
22
22
|
with:
|
|
23
|
-
node-version:
|
|
23
|
+
node-version: 24.x
|
|
24
24
|
registry-url: https://registry.npmjs.org
|
|
25
25
|
|
|
26
26
|
- name: Verify versions
|
|
@@ -28,5 +28,3 @@ jobs:
|
|
|
28
28
|
|
|
29
29
|
- name: Release package
|
|
30
30
|
run: npm publish --ignore-scripts --provenance
|
|
31
|
-
env:
|
|
32
|
-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
package/README.md
CHANGED
|
@@ -100,6 +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
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) | 🟠 | 🟢 | 🟣 |
|
|
104
105
|
| [quote-props](https://eslint.org/docs/latest/rules/quote-props) | Disallows quotes around object literal property names that are not strictly required | 🟠 | 🟢 | 🟣 |
|
|
105
106
|
| [semi](https://eslint.org/docs/latest/rules/semi) | Requires semicolons at the end of statements | 🟠 | 🟢 | 🟣 |
|
package/package.json
CHANGED
package/recommended-ts.js
CHANGED
package/recommended-vue.js
CHANGED
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",
|