@configg/bases 0.1.4 → 0.1.5

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@configg/bases",
3
- "version": "0.1.4",
3
+ "version": "0.1.5",
4
4
  "description": "All @configg presets in one package: oxc and tsconfig",
5
5
  "keywords": [
6
6
  "config",
@@ -3,6 +3,8 @@ import type { OxlintConfig } from 'oxlint'
3
3
  const sharedRules = {
4
4
  'eslint/id-length': 'off',
5
5
  'eslint/max-classes-per-file': ['warn', { max: 2 }],
6
+ 'eslint/max-lines-per-function': ['warn', { max: 100, skipBlankLines: true, skipComments: true }],
7
+ 'eslint/max-statements': ['warn', { max: 30 }],
6
8
  'typescript/restrict-template-expressions': [
7
9
  'error',
8
10
  {
@@ -13,6 +15,7 @@ const sharedRules = {
13
15
  },
14
16
  ],
15
17
  'import/prefer-default-export': 'off',
18
+ 'oxc/no-async-await': 'off',
16
19
  'unicorn/no-array-reduce': 'off',
17
20
  'unicorn/no-process-exit': 'off',
18
21
  // Oxfmt and Prettier write hex digits in lowercase; this rule wants uppercase and takes no option.