Skip to content

Commit f9b9825

Browse files
[autofix.ci] apply automated fixes
1 parent 6659880 commit f9b9825

4 files changed

Lines changed: 9 additions & 44 deletions

File tree

CHANGELOG.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,6 @@
337337
If you use Prettier v1.17.1 or older you should be able to upgrade eslint-config-prettier to v5.0.0 without having to do anything else.
338338

339339
If you use Prettier v1.18.0 or newer, you might get lint errors about for example changing `<div></div>` into `<div />`. You have two options:
340-
341340
- Run `eslint --fix` if you prefer to enforce self-closing elements where possible. This should fix all the errors.
342341
- Add `"react/self-closing-comp": "off"` to your ESLint config if you use autofix from your editor and you face the same [issue as Prettier did][prettier-self-closing].
343342

@@ -454,7 +453,6 @@
454453
### Version 2.0.0 (2017-05-07)
455454

456455
- Changed/Improved: The CLI helper tool is now more helpful.
457-
458456
- The options of special rules are now validated if possible. If a special rule is enabled with non-conflicting options, the CLI no longer warns about it.
459457
- If only special rules that cannot be automatically checked are found, the CLI no longer exists with a non-zero exit code. Instead, it only warns about the rules.
460458

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ Note that this config _only_ turns rules _off,_ so it only makes sense using it
2929
```
3030

3131
2. Add eslint-config-prettier to your ESLint configuration – either to [eslintrc] or to [eslint.config.js (flat config)].
32-
3332
- eslintrc: Add `"prettier"` to the "extends" array in your `.eslintrc.*` file. Make sure to put it **last,** so it gets the chance to override other configs.
3433

3534
<!-- prettier-ignore -->

bin/validators.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,12 @@ module.exports = {
2121
const firstOption = options[0];
2222
return Boolean(
2323
firstOption &&
24-
firstOption.allowBlockStart &&
25-
firstOption.allowBlockEnd &&
26-
firstOption.allowObjectStart &&
27-
firstOption.allowObjectEnd &&
28-
firstOption.allowArrayStart &&
29-
firstOption.allowArrayEnd
24+
firstOption.allowBlockStart &&
25+
firstOption.allowBlockEnd &&
26+
firstOption.allowObjectStart &&
27+
firstOption.allowObjectEnd &&
28+
firstOption.allowArrayStart &&
29+
firstOption.allowArrayEnd
3030
);
3131
},
3232

yarn.lock

Lines changed: 3 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -1528,16 +1528,7 @@ __metadata:
15281528
languageName: node
15291529
linkType: hard
15301530

1531-
"@types/node@npm:*":
1532-
version: 25.3.3
1533-
resolution: "@types/node@npm:25.3.3"
1534-
dependencies:
1535-
undici-types: "npm:~7.18.0"
1536-
checksum: 10c0/63e1d3816a9f4a706ab5d588d18cb98aa824b97748ff585537d327528e9438f58f69f45c7762e7cd3a1ab32c1619f551aabe8075d13172f9273cf10f6d83ab91
1537-
languageName: node
1538-
linkType: hard
1539-
1540-
"@types/node@npm:^12.7.1":
1531+
"@types/node@npm:*, @types/node@npm:^12.7.1":
15411532
version: 12.20.55
15421533
resolution: "@types/node@npm:12.20.55"
15431534
checksum: 10c0/3b190bb0410047d489c49bbaab592d2e6630de6a50f00ba3d7d513d59401d279972a8f5a598b5bb8ddc1702f8a2f4ec57a65d93852f9c329639738e7053637d1
@@ -3232,19 +3223,7 @@ __metadata:
32323223
languageName: node
32333224
linkType: hard
32343225

3235-
"eslint-scope@npm:^8.2.0 || ^9.0.0":
3236-
version: 9.1.1
3237-
resolution: "eslint-scope@npm:9.1.1"
3238-
dependencies:
3239-
"@types/esrecurse": "npm:^4.3.1"
3240-
"@types/estree": "npm:^1.0.8"
3241-
esrecurse: "npm:^4.3.0"
3242-
estraverse: "npm:^5.2.0"
3243-
checksum: 10c0/58327b26cd6a78693951668ce68c466a535259173d187cbd5c9d3cbe657cfd5dfaf1c01ec3176b8f6f1cf240b48d01d01e0f76ad9300682d9dd51d5d1514d4c1
3244-
languageName: node
3245-
linkType: hard
3246-
3247-
"eslint-scope@npm:^8.4.0":
3226+
"eslint-scope@npm:^8.2.0 || ^9.0.0, eslint-scope@npm:^8.4.0":
32483227
version: 8.4.0
32493228
resolution: "eslint-scope@npm:8.4.0"
32503229
dependencies:
@@ -3331,7 +3310,7 @@ __metadata:
33313310
languageName: node
33323311
linkType: hard
33333312

3334-
"espree@npm:^10.0.1, espree@npm:^10.3.0, espree@npm:^10.4.0":
3313+
"espree@npm:^10.0.1, espree@npm:^10.3.0, espree@npm:^10.4.0, espree@npm:^10.3.0 || ^11.0.0":
33353314
version: 10.4.0
33363315
resolution: "espree@npm:10.4.0"
33373316
dependencies:
@@ -3342,17 +3321,6 @@ __metadata:
33423321
languageName: node
33433322
linkType: hard
33443323

3345-
"espree@npm:^10.3.0 || ^11.0.0":
3346-
version: 11.1.1
3347-
resolution: "espree@npm:11.1.1"
3348-
dependencies:
3349-
acorn: "npm:^8.16.0"
3350-
acorn-jsx: "npm:^5.3.2"
3351-
eslint-visitor-keys: "npm:^5.0.1"
3352-
checksum: 10c0/2feae74efdfb037b9e9fcb30506799845cf20900de5e441ed03e5c51aaa249f85ea5818ff177682acc0c9bfb4ac97e1965c238ee44ac7c305aab8747177bab69
3353-
languageName: node
3354-
linkType: hard
3355-
33563324
"esprima@npm:^4.0.0":
33573325
version: 4.0.1
33583326
resolution: "esprima@npm:4.0.1"

0 commit comments

Comments
 (0)