@meteorlxy/eslint-config 3.6.0 → 3.7.0
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/dist/index.cjs +23 -4
- package/dist/index.mjs +23 -4
- package/package.json +3 -3
package/dist/index.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
const eslintCommentsPlugin = require('eslint-plugin-eslint-comments');
|
|
4
|
-
const importPlugin = require('eslint-plugin-
|
|
4
|
+
const importPlugin = require('eslint-plugin-import-x');
|
|
5
5
|
const globals = require('globals');
|
|
6
6
|
const confusingBrowserGlobals = require('confusing-browser-globals');
|
|
7
7
|
const tsPlugin = require('@typescript-eslint/eslint-plugin');
|
|
@@ -1888,14 +1888,33 @@ const typescript = ({
|
|
|
1888
1888
|
...overrides
|
|
1889
1889
|
},
|
|
1890
1890
|
settings: {
|
|
1891
|
-
"import/extensions": [
|
|
1891
|
+
"import/extensions": [
|
|
1892
|
+
".cjs",
|
|
1893
|
+
".cts",
|
|
1894
|
+
".js",
|
|
1895
|
+
".jsx",
|
|
1896
|
+
".mjs",
|
|
1897
|
+
".mts",
|
|
1898
|
+
".ts",
|
|
1899
|
+
".tsx"
|
|
1900
|
+
],
|
|
1892
1901
|
"import/external-module-folders": ["node_modules", "node_modules/@types"],
|
|
1893
1902
|
"import/parsers": {
|
|
1894
|
-
"@typescript-eslint/parser": [".mts", ".ts", ".tsx"]
|
|
1903
|
+
"@typescript-eslint/parser": [".cts", ".mts", ".ts", ".tsx"]
|
|
1895
1904
|
},
|
|
1896
1905
|
"import/resolver": {
|
|
1897
1906
|
node: {
|
|
1898
|
-
extensions: [
|
|
1907
|
+
extensions: [
|
|
1908
|
+
".cjs",
|
|
1909
|
+
".cts",
|
|
1910
|
+
".js",
|
|
1911
|
+
".json",
|
|
1912
|
+
".jsx",
|
|
1913
|
+
".mjs",
|
|
1914
|
+
".mts",
|
|
1915
|
+
".ts",
|
|
1916
|
+
".tsx"
|
|
1917
|
+
]
|
|
1899
1918
|
}
|
|
1900
1919
|
}
|
|
1901
1920
|
}
|
package/dist/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import eslintCommentsPlugin from 'eslint-plugin-eslint-comments';
|
|
2
|
-
import importPlugin from 'eslint-plugin-
|
|
2
|
+
import importPlugin from 'eslint-plugin-import-x';
|
|
3
3
|
import globals from 'globals';
|
|
4
4
|
import confusingBrowserGlobals from 'confusing-browser-globals';
|
|
5
5
|
import tsPlugin from '@typescript-eslint/eslint-plugin';
|
|
@@ -1876,14 +1876,33 @@ const typescript = ({
|
|
|
1876
1876
|
...overrides
|
|
1877
1877
|
},
|
|
1878
1878
|
settings: {
|
|
1879
|
-
"import/extensions": [
|
|
1879
|
+
"import/extensions": [
|
|
1880
|
+
".cjs",
|
|
1881
|
+
".cts",
|
|
1882
|
+
".js",
|
|
1883
|
+
".jsx",
|
|
1884
|
+
".mjs",
|
|
1885
|
+
".mts",
|
|
1886
|
+
".ts",
|
|
1887
|
+
".tsx"
|
|
1888
|
+
],
|
|
1880
1889
|
"import/external-module-folders": ["node_modules", "node_modules/@types"],
|
|
1881
1890
|
"import/parsers": {
|
|
1882
|
-
"@typescript-eslint/parser": [".mts", ".ts", ".tsx"]
|
|
1891
|
+
"@typescript-eslint/parser": [".cts", ".mts", ".ts", ".tsx"]
|
|
1883
1892
|
},
|
|
1884
1893
|
"import/resolver": {
|
|
1885
1894
|
node: {
|
|
1886
|
-
extensions: [
|
|
1895
|
+
extensions: [
|
|
1896
|
+
".cjs",
|
|
1897
|
+
".cts",
|
|
1898
|
+
".js",
|
|
1899
|
+
".json",
|
|
1900
|
+
".jsx",
|
|
1901
|
+
".mjs",
|
|
1902
|
+
".mts",
|
|
1903
|
+
".ts",
|
|
1904
|
+
".tsx"
|
|
1905
|
+
]
|
|
1887
1906
|
}
|
|
1888
1907
|
}
|
|
1889
1908
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@meteorlxy/eslint-config",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.7.0",
|
|
4
4
|
"description": "meteorlxy eslint config",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"config",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"confusing-browser-globals": "^1.0.11",
|
|
39
39
|
"eslint-config-prettier": "^9.1.0",
|
|
40
40
|
"eslint-plugin-eslint-comments": "^3.2.0",
|
|
41
|
-
"eslint-plugin-
|
|
41
|
+
"eslint-plugin-import-x": "^0.5.1",
|
|
42
42
|
"eslint-plugin-markdown": "^5.0.0",
|
|
43
43
|
"globals": "^15.3.0"
|
|
44
44
|
},
|
|
@@ -79,5 +79,5 @@
|
|
|
79
79
|
"publishConfig": {
|
|
80
80
|
"access": "public"
|
|
81
81
|
},
|
|
82
|
-
"gitHead": "
|
|
82
|
+
"gitHead": "ad3292a1a4c007a1cb3ac0bafb04482eebd4dc38"
|
|
83
83
|
}
|