eslint-config-fabulator 2.1.0 → 2.2.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
@@ -1,6 +1,13 @@
1
1
  # Change Log
2
2
  All notable changes to this project will be documented in this file.
3
3
 
4
+ ## v2.2.0 (2022-10-29)
5
+ ### Changed
6
+ - [b9d0cf7](https://github.com/fabulator/eslint-config-fabulator/commit/b9d0cf7c25f61ddcdddc946a1db9f5506729c785) Use typed linter
7
+
8
+ ### Fix
9
+ - [6d5c904](https://github.com/fabulator/eslint-config-fabulator/commit/6d5c904222918728781939851ccc160cb60b840f) max length attribute
10
+
4
11
  ## v2.1.0 (2022-10-29)
5
12
  ### Changed
6
13
  - [4a4a675](https://github.com/fabulator/eslint-config-fabulator/commit/4a4a6751ab8153e6cb63bcbc93f978338846b86c) Remove solarjs
package/index.js CHANGED
@@ -14,7 +14,7 @@ module.exports = {
14
14
  },
15
15
  rules: {
16
16
  'indent': 0, // checked by prettier
17
- 'max-len': [2, 140],
17
+ 'max-len': 0, // checked by prettier
18
18
  'no-console': 'warn',
19
19
  'complexity': [1, 6],
20
20
  'curly': [2, 'all'],
@@ -40,7 +40,7 @@ module.exports = {
40
40
  'promise/no-callback-in-promise': 1,
41
41
  'promise/prefer-await-to-callbacks': 2,
42
42
  'promise/prefer-await-to-then': 2,
43
- 'filenames/match-exported': [2, null, '\\.config$'],
43
+ 'filenames/match-exported': [2, null, '\\.config.js$'],
44
44
  'array-func/no-unnecessary-this-arg': 2,
45
45
  'array-func/prefer-array-from': 0, // I don't like it
46
46
  'array-func/avoid-reverse': 2,
@@ -54,12 +54,13 @@ module.exports = {
54
54
  'react/function-component-definition': 0,
55
55
  'array-func/from-map': 0,
56
56
  'no-irregular-whitespace': 0,
57
+ 'func-names': 0,
57
58
  },
58
59
  overrides: [
59
60
  {
60
61
  files: ['*.ts', '*.tsx'],
61
62
  parser: '@typescript-eslint/parser',
62
- extends: ['plugin:@typescript-eslint/recommended'],
63
+ extends: ['plugin:@typescript-eslint/recommended', 'plugin:@typescript-eslint/recommended-requiring-type-checking'],
63
64
  rules: {
64
65
  'typescript-sort-keys/interface': 2,
65
66
  'typescript-sort-keys/string-enum': 2,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-config-fabulator",
3
- "version": "2.1.0",
3
+ "version": "2.2.0",
4
4
  "description": "Shared ESLint config for fabulator projects",
5
5
  "keywords": [
6
6
  "eslint",