@tinkoff/eslint-config 1.25.3 → 1.28.0

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 CHANGED
@@ -3,6 +3,33 @@
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
+ ## [1.28.0](https://github.com/TinkoffCreditSystems/linters/compare/v1.27.3...v1.28.0) (2022-04-01)
7
+
8
+
9
+ ### Features
10
+
11
+ * upgrade prettier ([#181](https://github.com/TinkoffCreditSystems/linters/issues/181)) ([540ca60](https://github.com/TinkoffCreditSystems/linters/commit/540ca603fe309676d9d2372e93e8543b7ccd7c90))
12
+
13
+
14
+
15
+ ### [1.26.3](https://github.com/TinkoffCreditSystems/linters/compare/v1.26.2...v1.26.3) (2022-02-08)
16
+
17
+ **Note:** Version bump only for package @tinkoff/eslint-config
18
+
19
+
20
+
21
+
22
+
23
+ ### [1.26.1](https://github.com/TinkoffCreditSystems/linters/compare/v1.26.0...v1.26.1) (2022-02-08)
24
+
25
+
26
+ ### Bug Fixes
27
+
28
+ * Disabled old rule thar did not allow the use for of ([89053d0](https://github.com/TinkoffCreditSystems/linters/commit/89053d0c6d1bcc05cab4fae5a8a30900ebe1dbfe))
29
+ * Remove default-case rules because we usually use TS and sometimes dont need default ([b6747a0](https://github.com/TinkoffCreditSystems/linters/commit/b6747a08b3219764c4fbb0e262d0205be86e04d2))
30
+
31
+
32
+
6
33
  ### [1.25.3](https://github.com/TinkoffCreditSystems/linters/compare/v1.25.2...v1.25.3) (2022-02-07)
7
34
 
8
35
 
package/internal/base.js CHANGED
@@ -13,6 +13,7 @@ module.exports = {
13
13
  ecmaFeatures: {
14
14
  legacyDecorators: true,
15
15
  },
16
+ requireConfigFile: false,
16
17
  },
17
18
 
18
19
  rules: {
@@ -35,21 +36,9 @@ module.exports = {
35
36
  'global-require': 'off',
36
37
  'class-methods-use-this': 'off',
37
38
  'no-continue': 'off',
38
- 'no-restricted-syntax': [
39
- 'warn',
40
- {
41
- selector: 'LabeledStatement',
42
- message:
43
- 'Labels are a form of GOTO; using them makes code confusing and hard to maintain and understand.',
44
- },
45
- {
46
- selector: 'WithStatement',
47
- message:
48
- '`with` is disallowed in strict mode because it makes code impossible to predict and optimize.',
49
- },
50
- ],
39
+ 'no-restricted-syntax': 'off',
51
40
  'guard-for-in': 'off',
52
- 'default-case': 'warn',
41
+ 'default-case': 'off',
53
42
  'no-plusplus': 'off',
54
43
  'func-names': 'off',
55
44
  'consistent-return': 'warn',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tinkoff/eslint-config",
3
- "version": "1.25.3",
3
+ "version": "1.28.0",
4
4
  "description": "Tinkoff ESLint configs to rule them all",
5
5
  "license": "Apache-2.0",
6
6
  "keywords": [
@@ -34,10 +34,10 @@
34
34
  "eslint-plugin-prettier": "^3.1.4",
35
35
  "eslint-plugin-promise": "^4.2.1",
36
36
  "eslint-plugin-sort-class-members": "^1.7.0",
37
- "prettier": "2.5.1"
37
+ "prettier": "2.6.1"
38
38
  },
39
39
  "publishConfig": {
40
40
  "access": "public"
41
41
  },
42
- "gitHead": "da206162f26ece37d7cdbe7a3e5703fda3029082"
42
+ "gitHead": "c2fa7ee793c444690f0e807912b7bbae3200810e"
43
43
  }