@neurodevs/eslint-config-ndx 0.0.12 → 1.0.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.
@@ -1,6 +1,5 @@
1
1
  import globals from 'globals';
2
2
  import prettierConfig from 'eslint-config-prettier/flat';
3
- import biomeConfig from 'eslint-config-biome';
4
3
  import esTypescript from '@typescript-eslint/eslint-plugin';
5
4
  import esParser from '@typescript-eslint/parser';
6
5
  import esImport from 'eslint-plugin-import';
@@ -80,6 +79,5 @@ export default [
80
79
  'import/no-unresolved': 'off',
81
80
  },
82
81
  },
83
- biomeConfig,
84
82
  ];
85
83
  //# sourceMappingURL=eslint.config.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"eslint.config.js","sourceRoot":"","sources":["../src/eslint.config.js"],"names":[],"mappings":"AAAA,OAAO,OAAO,MAAM,SAAS,CAAA;AAE7B,OAAO,cAAc,MAAM,6BAA6B,CAAA;AACxD,OAAO,WAAW,MAAM,qBAAqB,CAAA;AAE7C,OAAO,YAAY,MAAM,kCAAkC,CAAA;AAC3D,OAAO,QAAQ,MAAM,2BAA2B,CAAA;AAEhD,OAAO,QAAQ,MAAM,sBAAsB,CAAA;AAC3C,OAAO,OAAO,MAAM,qBAAqB,CAAA;AAEzC,eAAe;IACX,cAAc;IACd;QACI,OAAO,EAAE,CAAC,UAAU,CAAC;QACrB,OAAO,EAAE;YACL,MAAM,EAAE,QAAQ;YAChB,KAAK,EAAE,OAAO;SACjB;QACD,eAAe,EAAE;YACb,WAAW,EAAE,QAAQ;YACrB,UAAU,EAAE,QAAQ;YACpB,OAAO,EAAE;gBACL,GAAG,OAAO,CAAC,OAAO;gBAClB,GAAG,OAAO,CAAC,IAAI;gBACf,GAAG,OAAO,CAAC,IAAI;aAClB;SACJ;QACD,KAAK,EAAE;YACH,KAAK,EAAE,OAAO;YACd,YAAY,EAAE,KAAK;YACnB,UAAU,EAAE,KAAK;YACjB,QAAQ,EAAE,OAAO;YACjB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AAC;SAC1C;KACJ;IACD;QACI,KAAK,EAAE,CAAC,SAAS,EAAE,UAAU,CAAC;QAC9B,OAAO,EAAE;YACL,MAAM,EAAE,QAAQ;SACnB;QACD,KAAK,EAAE;YACH,GAAG,QAAQ,CAAC,OAAO,CAAC,WAAW,CAAC,KAAK;SACxC;KACJ;IACD;QACI,KAAK,EAAE,CAAC,qBAAqB,CAAC;QAC9B,KAAK,EAAE;YACH,sBAAsB,EAAE,KAAK;SAChC;KACJ;CACJ,CAAA"}
package/build/index.d.ts CHANGED
@@ -1 +1 @@
1
- export { default as esConfigNdx } from './eslint.config.js';
1
+ export { default } from './eslint.config.js';
package/build/index.js CHANGED
@@ -1,2 +1,2 @@
1
- export { default as esConfigNdx } from './eslint.config.js';
1
+ export { default } from './eslint.config.js';
2
2
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,oBAAoB,CAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAA"}
package/eslint.config.js CHANGED
@@ -1,88 +1,3 @@
1
- import globals from 'globals'
1
+ import esConfigNdx from './src/eslint.config.js'
2
2
 
3
- import prettierConfig from 'eslint-config-prettier/flat'
4
- import biomeConfig from 'eslint-config-biome'
5
-
6
- import esTypescript from '@typescript-eslint/eslint-plugin'
7
- import esParser from '@typescript-eslint/parser'
8
-
9
- import esImport from 'eslint-plugin-import'
10
- import esReact from 'eslint-plugin-react'
11
-
12
- export default [
13
- prettierConfig,
14
- {
15
- ignores: ['build/**'],
16
- plugins: {
17
- import: esImport,
18
- react: esReact,
19
- },
20
- languageOptions: {
21
- ecmaVersion: 'latest',
22
- sourceType: 'module',
23
- globals: {
24
- ...globals.browser,
25
- ...globals.node,
26
- ...globals.jest,
27
- },
28
- },
29
- rules: {
30
- curly: 'error',
31
- 'no-console': 'off',
32
- 'no-undef': 'off',
33
- 'no-var': 'error',
34
- 'no-unreachable': 'error',
35
- 'no-unused-vars': 'off',
36
- 'object-shorthand': ['error', 'always'],
37
- 'react/jsx-no-undef': 'error',
38
- 'react/prop-types': 'off',
39
- },
40
- settings: {
41
- react: {
42
- version: 'detect',
43
- },
44
- },
45
- },
46
- {
47
- files: ['**/*.ts', '**/*.tsx'],
48
- plugins: {
49
- '@typescript-eslint': esTypescript,
50
- },
51
- languageOptions: {
52
- parser: esParser,
53
- },
54
- rules: {
55
- '@typescript-eslint/no-unused-vars': [
56
- 'error',
57
- {
58
- argsIgnorePattern: '^_',
59
- varsIgnorePattern: '^_',
60
- caughtErrorsIgnorePattern: '^_',
61
- },
62
- ],
63
- '@typescript-eslint/no-empty-interface': 0,
64
- // TODO: Remove this if we can; it isn't a good rule to squash.
65
- // Sometimes this is fine, but sometimes it masks a compile error.
66
- '@typescript-eslint/ban-ts-ignore': 0,
67
- '@typescript-eslint/no-empty-function': 0,
68
- '@typescript-eslint/explicit-function-return-type': 0,
69
- '@typescript-eslint/no-explicit-any': 0,
70
- },
71
- },
72
- {
73
- files: ['**/*.js', '**/*.mjs'],
74
- plugins: {
75
- import: esImport,
76
- },
77
- rules: {
78
- ...esImport.configs.recommended.rules,
79
- },
80
- },
81
- {
82
- files: ['**/eslint.config.js'],
83
- rules: {
84
- 'import/no-unresolved': 'off',
85
- },
86
- },
87
- biomeConfig,
88
- ]
3
+ export default esConfigNdx
package/index.d.ts CHANGED
@@ -1,3 +1,5 @@
1
1
  import type { Linter } from 'eslint'
2
2
 
3
- export const esConfigNdx: Linter.Config[]
3
+ declare const esConfigNdx: Linter.Config[]
4
+
5
+ export default esConfigNdx
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@neurodevs/eslint-config-ndx",
3
- "version": "0.0.12",
3
+ "version": "1.0.1",
4
4
  "description": "ESLint config for the Neurodevs ecosystem",
5
5
  "type": "module",
6
6
  "keywords": [
@@ -45,7 +45,6 @@
45
45
  "@typescript-eslint/eslint-plugin": "^8.56.0",
46
46
  "@typescript-eslint/parser": "^8.56.0",
47
47
  "eslint": "^9.39.2",
48
- "eslint-config-biome": "^2.1.3",
49
48
  "eslint-config-prettier": "^10.1.8",
50
49
  "eslint-plugin-import": "^2.32.0",
51
50
  "eslint-plugin-react": "^7.37.5"
@@ -1,7 +1,6 @@
1
1
  import globals from 'globals'
2
2
 
3
3
  import prettierConfig from 'eslint-config-prettier/flat'
4
- import biomeConfig from 'eslint-config-biome'
5
4
 
6
5
  import esTypescript from '@typescript-eslint/eslint-plugin'
7
6
  import esParser from '@typescript-eslint/parser'
@@ -84,5 +83,4 @@ export default [
84
83
  'import/no-unresolved': 'off',
85
84
  },
86
85
  },
87
- biomeConfig,
88
86
  ]
package/src/index.ts CHANGED
@@ -1 +1 @@
1
- export { default as esConfigNdx } from './eslint.config.js'
1
+ export { default } from './eslint.config.js'