@rebeccastevens/eslint-config 1.2.1 → 1.2.2
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/CHANGELOG.md +8 -0
- package/dist/modern.cjs +2 -1
- package/dist/modern.mjs +2 -1
- package/dist/typescript.cjs +1 -0
- package/dist/typescript.mjs +1 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,14 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
All notable changes to this project will be documented in this file. Dates are displayed in UTC.
|
|
3
3
|
|
|
4
|
+
## [1.2.2](https://github.com/RebeccaStevens/eslint-config-rebeccastevens/compare/v1.2.1...v1.2.2) (2022-01-29)
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
### Bug Fixes
|
|
8
|
+
|
|
9
|
+
* **@typescript-eslint/prefer-readonly-parameter-types:** treat methods as readonly ([a0a1af7](https://github.com/RebeccaStevens/eslint-config-rebeccastevens/commit/a0a1af7995dae9cc5bd9697d8c585a275c0118bc))
|
|
10
|
+
* **jsdoc/require-jsdoc:** ensure exported function declaration also require jsdoc ([8d647d1](https://github.com/RebeccaStevens/eslint-config-rebeccastevens/commit/8d647d1096079586041e2a50fce83503effd81ea))
|
|
11
|
+
|
|
4
12
|
## [1.2.1](https://github.com/RebeccaStevens/eslint-config-rebeccastevens/compare/v1.2.0...v1.2.1) (2022-01-14)
|
|
5
13
|
|
|
6
14
|
|
package/dist/modern.cjs
CHANGED
|
@@ -824,7 +824,8 @@ const settings$6 = {
|
|
|
824
824
|
"warn",
|
|
825
825
|
{
|
|
826
826
|
contexts: [
|
|
827
|
-
":not(
|
|
827
|
+
":not(ExportNamedDeclaration) > FunctionDeclaration:not(TSDeclareFunction + FunctionDeclaration)",
|
|
828
|
+
"ExportNamedDeclaration > FunctionDeclaration:not(ExportNamedDeclaration:has(TSDeclareFunction) + ExportNamedDeclaration > FunctionDeclaration)",
|
|
828
829
|
"TSDeclareFunction",
|
|
829
830
|
"ExportNamedDeclaration > TSTypeAliasDeclaration",
|
|
830
831
|
"ExportNamedDeclaration > TSInterfaceDeclaration",
|
package/dist/modern.mjs
CHANGED
|
@@ -822,7 +822,8 @@ const settings$6 = {
|
|
|
822
822
|
"warn",
|
|
823
823
|
{
|
|
824
824
|
contexts: [
|
|
825
|
-
":not(
|
|
825
|
+
":not(ExportNamedDeclaration) > FunctionDeclaration:not(TSDeclareFunction + FunctionDeclaration)",
|
|
826
|
+
"ExportNamedDeclaration > FunctionDeclaration:not(ExportNamedDeclaration:has(TSDeclareFunction) + ExportNamedDeclaration > FunctionDeclaration)",
|
|
826
827
|
"TSDeclareFunction",
|
|
827
828
|
"ExportNamedDeclaration > TSTypeAliasDeclaration",
|
|
828
829
|
"ExportNamedDeclaration > TSInterfaceDeclaration",
|
package/dist/typescript.cjs
CHANGED
package/dist/typescript.mjs
CHANGED