@foray1010/eslint-config 7.3.0 → 7.3.1
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 +6 -0
- package/package.json +2 -2
- package/presets/base.js +1 -7
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,12 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [7.3.1](https://github.com/foray1010/common-presets/compare/@foray1010/eslint-config@7.3.0...@foray1010/eslint-config@7.3.1) (2022-07-28)
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
- **eslint-config:** allow arrow function in object ([2b7549b](https://github.com/foray1010/common-presets/commit/2b7549ba63f8b9697300becb99504b736c833c23))
|
|
11
|
+
|
|
6
12
|
## [7.3.0](https://github.com/foray1010/common-presets/compare/@foray1010/eslint-config@7.2.0...@foray1010/eslint-config@7.3.0) (2022-07-28)
|
|
7
13
|
|
|
8
14
|
### Features
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json.schemastore.org/package",
|
|
3
3
|
"name": "@foray1010/eslint-config",
|
|
4
|
-
"version": "7.3.
|
|
4
|
+
"version": "7.3.1",
|
|
5
5
|
"homepage": "https://github.com/foray1010/common-presets/tree/master/packages/eslint-config#readme",
|
|
6
6
|
"bugs": "https://github.com/foray1010/common-presets/issues",
|
|
7
7
|
"repository": {
|
|
@@ -48,5 +48,5 @@
|
|
|
48
48
|
"publishConfig": {
|
|
49
49
|
"access": "public"
|
|
50
50
|
},
|
|
51
|
-
"gitHead": "
|
|
51
|
+
"gitHead": "cc2b4de0c590bf0c168149ca38e5c49c384a9b3d"
|
|
52
52
|
}
|
package/presets/base.js
CHANGED
|
@@ -84,13 +84,7 @@ module.exports = {
|
|
|
84
84
|
// do not enforce JSDoc for internal methods
|
|
85
85
|
'jsdoc/require-jsdoc': 'off',
|
|
86
86
|
// avoid assigning anonymous function to object key which is harder to trace when debug
|
|
87
|
-
'object-shorthand': [
|
|
88
|
-
'error',
|
|
89
|
-
'always',
|
|
90
|
-
{
|
|
91
|
-
avoidExplicitReturnArrows: true,
|
|
92
|
-
},
|
|
93
|
-
],
|
|
87
|
+
'object-shorthand': ['error', 'always'],
|
|
94
88
|
// auto sort export statements
|
|
95
89
|
'simple-import-sort/exports': 'error',
|
|
96
90
|
// auto sort import statements
|