@fullstacksjs/eslint-config 10.1.0 → 10.3.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/index.js CHANGED
@@ -10,6 +10,7 @@ module.exports = {
10
10
  require.resolve('./promise'),
11
11
  require.resolve('./storybook'),
12
12
  require.resolve('./jest'),
13
+ global.fullstacksjs?.cspell && require.resolve('./cspell'),
13
14
  global.fullstacksjs?.tailwind && require.resolve('./tailwind'),
14
15
  global.fullstacksjs?.react && require.resolve('./react'),
15
16
  global.fullstacksjs?.next && require.resolve('./next'),
package/init.js CHANGED
@@ -19,6 +19,7 @@ function init(opts = {}) {
19
19
  require.resolve('./base'),
20
20
  require.resolve('./promise'),
21
21
  require.resolve('./fp'),
22
+ opts.cspell && require.resolve('./cspell'),
22
23
  opts.tailwind && require.resolve('./tailwind'),
23
24
  opts.node && require.resolve('./node'),
24
25
  opts.graphql && require.resolve('./graphql'),
package/jest.js CHANGED
@@ -73,9 +73,6 @@ module.exports = {
73
73
  'jest/unbound-method': 'error',
74
74
  'jest/no-untyped-mock-factory': 'warn',
75
75
  }),
76
-
77
- // conflicts
78
- 'fp/no-let': 'off',
79
76
  },
80
77
  },
81
78
  ],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fullstacksjs/eslint-config",
3
- "version": "10.1.0",
3
+ "version": "10.3.0",
4
4
  "license": "MIT",
5
5
  "author": "fullstacks <fullstacksjs@gmail.com>",
6
6
  "description": "fullstacks eslint config",
@@ -72,6 +72,7 @@
72
72
  "read-pkg-up": "7.0.1"
73
73
  },
74
74
  "devDependencies": {
75
+ "@cspell/eslint-plugin": "7.3.7",
75
76
  "@semantic-release/github": "9.0.4",
76
77
  "@semantic-release/npm": "10.0.5",
77
78
  "@semantic-release/release-notes-generator": "11.0.7",
package/registerOpts.js CHANGED
@@ -11,6 +11,7 @@ const defaultOptions = {
11
11
  test: hasDep('jest') || hasDep('vitest'),
12
12
  typescript: hasDep('typescript'),
13
13
  tailwind: hasDep('tailwindcss'),
14
+ cspell: hasDep('cspell'),
14
15
  import: true,
15
16
  node: true,
16
17
  };
package/test.js CHANGED
@@ -22,8 +22,11 @@ module.exports = {
22
22
  'jest-formatting/padding-around-expect-groups': 'warn',
23
23
  'jest-formatting/padding-around-test-blocks': 'warn',
24
24
 
25
- // other modules
26
25
  'max-lines-per-function': 'off',
26
+ 'fp/no-let': 'off',
27
+ 'fp/no-loops': 'off',
28
+ 'no-sparse-arrays': 'off',
29
+
27
30
  ...(global.fullstacksjs?.react && {
28
31
  'react/jsx-no-constructed-context-values': 'off',
29
32
  }),
@@ -31,6 +34,7 @@ module.exports = {
31
34
  '@typescript-eslint/method-signature-style': 'off',
32
35
  '@typescript-eslint/no-namespace ': 'off',
33
36
  '@typescript-eslint/unbound-method': 'off',
37
+ '@typescript-eslint/no-empty-function': 'off',
34
38
  }),
35
39
  },
36
40
  };