@configg/oxc 0.1.7 → 0.1.8

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/README.md CHANGED
@@ -58,7 +58,8 @@ Both presets allow up to two classes per file, allow `reduce()`, allow `process.
58
58
  shutdown handlers exit with a status code on purpose) and allow short identifiers (`eslint/id-length` is off). They turn `import/prefer-default-export` off, since named
59
59
  exports are the convention (it matters once a config adds the `import` plugin), and `unicorn/number-literal-case`
60
60
  off, since oxfmt and Prettier write hex digits in lowercase. `async`/`await` is allowed (`oxc/no-async-await` is
61
- off), and functions may run to 100 lines (blank lines and comments not counted) and 30 statements. Template expressions
61
+ off), `continue` is allowed (`eslint/no-continue` is off), and functions may run to 100 lines (blank lines and comments
62
+ not counted) and 30 statements. Template expressions
62
63
  allow booleans, numbers, nullish values and `never`; other types follow Oxlint's defaults.
63
64
 
64
65
  ## Peer dependencies
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@configg/oxc",
3
- "version": "0.1.7",
3
+ "version": "0.1.8",
4
4
  "description": "oxfmt and oxlint presets",
5
5
  "keywords": [
6
6
  "config",
package/src/lint.ts CHANGED
@@ -7,6 +7,7 @@ const sharedRules = {
7
7
  'eslint/max-classes-per-file': ['warn', { max: 2 }],
8
8
  'eslint/max-lines-per-function': ['warn', { max: 100, skipBlankLines: true, skipComments: true }],
9
9
  'eslint/max-statements': ['warn', { max: 30 }],
10
+ 'eslint/no-continue': 'off',
10
11
  'import/prefer-default-export': 'off',
11
12
  'oxc/no-async-await': 'off',
12
13
  'typescript/restrict-template-expressions': [