@smartive/eslint-config 4.0.0 → 4.0.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/.eslintrc.js +2 -0
- package/.eslintrc.react.js +1 -0
- package/CHANGELOG.md +2 -22
- package/package.json +1 -1
package/.eslintrc.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/** @type {import('eslint').Linter.Config} */
|
|
1
2
|
module.exports = {
|
|
2
3
|
rules: {
|
|
3
4
|
'@typescript-eslint/explicit-function-return-type': 'off',
|
|
@@ -26,6 +27,7 @@ module.exports = {
|
|
|
26
27
|
parserOptions: {
|
|
27
28
|
ecmaVersion: 2018,
|
|
28
29
|
sourceType: 'module',
|
|
30
|
+
project: true,
|
|
29
31
|
},
|
|
30
32
|
extends: [
|
|
31
33
|
'eslint:recommended',
|
package/.eslintrc.react.js
CHANGED
package/CHANGELOG.md
CHANGED
|
@@ -1,26 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
## [4.0.1](https://github.com/smartive/eslint-config/compare/v4.0.0...v4.0.1) (2023-10-17)
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
### Bug Fixes
|
|
5
5
|
|
|
6
|
-
*
|
|
7
|
-
* fix the check that checks if Husky is installed ([5f5c469](https://github.com/smartive/eslint-config/commit/5f5c469a47087f938c8a6f0e2a2710f9e77e475e))
|
|
8
|
-
* only run husky in development environment ([#17](https://github.com/smartive/eslint-config/issues/17)) ([702fb42](https://github.com/smartive/eslint-config/commit/702fb421c8e4dfd633f43c7dc1b3e4346dc96544))
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
### chore
|
|
12
|
-
|
|
13
|
-
* drop support for old versions of ESLint ([#15](https://github.com/smartive/eslint-config/issues/15)) ([dadd751](https://github.com/smartive/eslint-config/commit/dadd751466d84c97ff5a6f75b83dfc2f6b16eea6))
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
### Features
|
|
17
|
-
|
|
18
|
-
* add new more restrictive rules ([#16](https://github.com/smartive/eslint-config/issues/16)) ([52fa585](https://github.com/smartive/eslint-config/commit/52fa5857b72365d99f4d090bdf603363eb0d46de))
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
### BREAKING CHANGES
|
|
22
|
-
|
|
23
|
-
* Drop support for ESLint v7 and @typescript-eslint/* v5
|
|
24
|
-
* Add new rules for array-callback-return, no-debugger, no-alert,
|
|
25
|
-
newline-before-return, @typescript-eslint/no-unused-vars,
|
|
26
|
-
@typescript-eslint/no-floating-promises, no-constant-binary-expression and no-console
|
|
6
|
+
* @typescript-eslint/no-floating-promises rule not working due to missing TS project config ([#19](https://github.com/smartive/eslint-config/issues/19)) ([ce4e600](https://github.com/smartive/eslint-config/commit/ce4e600e48b94b08e0e8613f6afc10d7deee89b1))
|