@xylabs/eslint-config-flat 3.11.7 → 3.11.9
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 +3 -3
- package/dist/neutral/import/index.d.cts +0 -3
- package/dist/neutral/import/index.d.cts.map +0 -1
- package/dist/neutral/import/index.d.mts +0 -3
- package/dist/neutral/import/index.d.mts.map +0 -1
- package/dist/neutral/import/index.d.ts +0 -3
- package/dist/neutral/import/index.d.ts.map +0 -1
- package/dist/node/import/index.d.cts +0 -3
- package/dist/node/import/index.d.cts.map +0 -1
- package/dist/node/import/index.d.mts +0 -3
- package/dist/node/import/index.d.mts.map +0 -1
- package/dist/node/import/index.d.ts +0 -3
- package/dist/node/import/index.d.ts.map +0 -1
- package/src/import/index.ts +0 -28
package/package.json
CHANGED
|
@@ -42,8 +42,8 @@
|
|
|
42
42
|
"@swc/cli": "^0.3.12",
|
|
43
43
|
"@swc/core": "^1.6.3",
|
|
44
44
|
"@types/node": "^20.14.6",
|
|
45
|
-
"@xylabs/ts-scripts-yarn3": "~3.11.
|
|
46
|
-
"@xylabs/tsconfig": "~3.11.
|
|
45
|
+
"@xylabs/ts-scripts-yarn3": "~3.11.9",
|
|
46
|
+
"@xylabs/tsconfig": "~3.11.9",
|
|
47
47
|
"eslint": ">=9",
|
|
48
48
|
"tslib": "^2.6.3",
|
|
49
49
|
"typescript": "^5.4.5"
|
|
@@ -79,7 +79,7 @@
|
|
|
79
79
|
"url": "https://github.com/xylabs/config.git"
|
|
80
80
|
},
|
|
81
81
|
"sideEffects": false,
|
|
82
|
-
"version": "3.11.
|
|
82
|
+
"version": "3.11.9",
|
|
83
83
|
"scripts": {
|
|
84
84
|
"package-compile2": "yarn tsc -p tsconfig.json --module es2022 --outDir dist --rootDir src"
|
|
85
85
|
},
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/import/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AAE/B,eAAO,MAAM,YAAY,EAAE,MAAM,CAAC,UAwBjC,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/import/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AAE/B,eAAO,MAAM,YAAY,EAAE,MAAM,CAAC,UAwBjC,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/import/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AAE/B,eAAO,MAAM,YAAY,EAAE,MAAM,CAAC,UAwBjC,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/import/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AAE/B,eAAO,MAAM,YAAY,EAAE,MAAM,CAAC,UAwBjC,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/import/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AAE/B,eAAO,MAAM,YAAY,EAAE,MAAM,CAAC,UAwBjC,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/import/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AAE/B,eAAO,MAAM,YAAY,EAAE,MAAM,CAAC,UAwBjC,CAAA"}
|
package/src/import/index.ts
DELETED
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import importPlugin from 'eslint-plugin-import'
|
|
2
|
-
import { Linter } from 'eslint'
|
|
3
|
-
|
|
4
|
-
export const importConfig: Linter.FlatConfig = {
|
|
5
|
-
ignores: ['.yarn/**', 'jest.config.cjs', '**/dist/**', 'dist', 'build/**', 'node_modules/**'],
|
|
6
|
-
plugins: { import: importPlugin },
|
|
7
|
-
rules: {
|
|
8
|
-
...importPlugin.configs.recommended.rules,
|
|
9
|
-
'import/default': ['off'],
|
|
10
|
-
'import/named': ['off'],
|
|
11
|
-
'import/namespace': ['off'],
|
|
12
|
-
'import/no-absolute-path': ['warn'],
|
|
13
|
-
'import/no-cycle': [
|
|
14
|
-
'warn',
|
|
15
|
-
{
|
|
16
|
-
maxDepth: 2,
|
|
17
|
-
},
|
|
18
|
-
],
|
|
19
|
-
'import/no-default-export': ['warn'],
|
|
20
|
-
'import/no-deprecated': ['warn'],
|
|
21
|
-
'import/no-internal-modules': ['warn'],
|
|
22
|
-
'import/no-named-as-default-member': ['off'],
|
|
23
|
-
'import/no-named-as-default': ['off'],
|
|
24
|
-
'import/no-restricted-paths': ['warn'],
|
|
25
|
-
'import/no-self-import': ['warn'],
|
|
26
|
-
'import/no-useless-path-segments': ['warn'],
|
|
27
|
-
},
|
|
28
|
-
}
|