eslint-config-fabulator 2.1.0 → 2.2.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.
Files changed (3) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/index.js +10 -3
  3. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -1,6 +1,17 @@
1
1
  # Change Log
2
2
  All notable changes to this project will be documented in this file.
3
3
 
4
+ ## v2.2.1 (2022-10-29)
5
+ ### Fixed
6
+ - [2694f76](https://github.com/fabulator/eslint-config-fabulator/commit/2694f76b1944bd0acdbb6305972970fc43eb97fc) Path for name exports
7
+
8
+ ## v2.2.0 (2022-10-29)
9
+ ### Changed
10
+ - [b9d0cf7](https://github.com/fabulator/eslint-config-fabulator/commit/b9d0cf7c25f61ddcdddc946a1db9f5506729c785) Use typed linter
11
+
12
+ ### Fix
13
+ - [6d5c904](https://github.com/fabulator/eslint-config-fabulator/commit/6d5c904222918728781939851ccc160cb60b840f) max length attribute
14
+
4
15
  ## v2.1.0 (2022-10-29)
5
16
  ### Changed
6
17
  - [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,
@@ -79,6 +80,12 @@ module.exports = {
79
80
  'no-shadow': 0, // conflict with typescript
80
81
  },
81
82
  },
83
+ {
84
+ files: ['*.config.*'],
85
+ rules: {
86
+ 'filenames/match-exported': 0,
87
+ },
88
+ },
82
89
  {
83
90
  files: ['*.test.*'],
84
91
  ...jestConfig,
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.1",
4
4
  "description": "Shared ESLint config for fabulator projects",
5
5
  "keywords": [
6
6
  "eslint",