Skip to content

Commit 5a0c4a9

Browse files
committed
Update npm packages and add new rules
1 parent 6b4625e commit 5a0c4a9

8 files changed

+269
-284
lines changed

.eslintrc.base.js

+1
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ module.exports = {
5555
"standard/computed-property-even-spacing": ["error", "even"],
5656
"unicorn/consistent-function-scoping": "off",
5757
"unicorn/filename-case": "off",
58+
"unicorn/no-array-reduce": "off",
5859
"unicorn/no-nested-ternary": "off",
5960
"unicorn/no-null": "off",
6061
"unicorn/no-reduce": "off",

.eslintrc.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
"use strict";
22

33
// This is the internal ESLint config for this project itself – it’s not part of
4-
// the eslint-config-prettier npm package. The idea here is to extends some
4+
// the eslint-config-prettier npm package. The idea here is to extend some
55
// sharable config from npm and then include the configs exposed by this package
66
// as an “eat your own dogfood” test. That feels like a good test, but
77
// complicates things a little sometimes.

@typescript-eslint.js

+1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ module.exports = {
1313
"@typescript-eslint/member-delimiter-style": "off",
1414
"@typescript-eslint/no-extra-parens": "off",
1515
"@typescript-eslint/no-extra-semi": "off",
16+
"@typescript-eslint/object-curly-spacing": "off",
1617
"@typescript-eslint/semi": "off",
1718
"@typescript-eslint/space-before-function-paren": "off",
1819
"@typescript-eslint/space-infix-ops": "off",

LICENSE

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright (c) 2017, 2018, 2019, 2020 Simon Lydell and contributors
3+
Copyright (c) 2017, 2018, 2019, 2020, 2021 Simon Lydell and contributors
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -678,21 +678,21 @@ You can also supply a custom message if you want:
678678

679679
eslint-config-prettier has been tested with:
680680

681-
- ESLint 7.16.0
681+
- ESLint 7.18.0
682682
- eslint-config-prettier 7.0.0 requires ESLint 7.0.0 or newer, while eslint-config-prettier 6.15.0 and older should also work with ESLint versions down to 3.x.
683683
- eslint-config-prettier 6.11.0 and older were tested with ESLint 6.x
684684
- eslint-config-prettier 5.1.0 and older were tested with ESLint 5.x
685685
- eslint-config-prettier 2.10.0 and older were tested with ESLint 4.x
686686
- eslint-config-prettier 2.1.1 and older were tested with ESLint 3.x
687687
- prettier 2.2.1
688-
- @typescript-eslint/eslint-plugin 4.10.0
688+
- @typescript-eslint/eslint-plugin 4.14.0
689689
- eslint-plugin-babel 5.3.1
690690
- eslint-plugin-flowtype 5.2.0
691-
- eslint-plugin-prettier 3.3.0
692-
- eslint-plugin-react 7.21.5
691+
- eslint-plugin-prettier 3.3.1
692+
- eslint-plugin-react 7.22.0
693693
- eslint-plugin-standard 4.0.2
694-
- eslint-plugin-unicorn 24.0.0
695-
- eslint-plugin-vue 7.3.0
694+
- eslint-plugin-unicorn 26.0.1
695+
- eslint-plugin-vue 7.4.1
696696

697697
Have new rules been added since those versions? Have we missed any rules? Is there a plugin you would like to see exclusions for? Open an issue or a pull request!
698698

0 commit comments

Comments
 (0)