@trigen/oxlint-config 9.2.1 → 9.2.3

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,7 +1,7 @@
1
1
  {
2
2
  "name": "@trigen/oxlint-config",
3
3
  "type": "module",
4
- "version": "9.2.1",
4
+ "version": "9.2.3",
5
5
  "description": "Trigen's Oxlint config.",
6
6
  "author": "dangreen",
7
7
  "license": "MIT",
@@ -310,6 +310,12 @@ export default {
310
310
  },
311
311
  Property(node) {
312
312
  checkProperty(node, 'objectLiteralProperty')
313
+ },
314
+ TSPropertySignature(node) {
315
+ checkProperty(node, 'objectLiteralProperty')
316
+ },
317
+ TSMethodSignature(node) {
318
+ checkProperty(node, 'objectLiteralMethod')
313
319
  }
314
320
  }
315
321
  }
@@ -5,6 +5,7 @@
5
5
  export default {
6
6
  jsPlugins: ['@trigen/oxlint-config/plugin'],
7
7
  rules: {
8
+ 'oxc/no-const-enum': 'error',
8
9
  'eslint/constructor-super': 'error',
9
10
  'eslint/for-direction': 'error',
10
11
  'eslint/getter-return': 'error',
@@ -26,7 +26,7 @@ export default {
26
26
  'typescript/no-unsafe-argument': 'error',
27
27
  'typescript/no-unsafe-assignment': 'error',
28
28
  'typescript/no-unsafe-call': 'error',
29
- 'typescript/no-unsafe-enum-comparison': 'error',
29
+ 'typescript/no-unsafe-enum-comparison': 'off',
30
30
  'typescript/no-unsafe-member-access': 'error',
31
31
  'typescript/no-unsafe-return': 'error',
32
32
  'typescript/no-unsafe-unary-minus': 'error',
package/src/test.js CHANGED
@@ -30,7 +30,8 @@ export default {
30
30
  'typescript/no-misused-promises': 'off',
31
31
  'eslint/no-use-before-define': 'off',
32
32
  'eslint/no-useless-assignment': 'off',
33
- 'eslint/no-empty-function': 'off'
33
+ 'eslint/no-empty-function': 'off',
34
+ 'trigen/naming-convention': 'off'
34
35
 
35
36
  // Unsupported by Oxlint
36
37
  // 'eslint/camelcase': 'off',