@meteorlxy/eslint-config 3.6.0 → 3.8.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 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-i');
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');
@@ -46,7 +46,9 @@ const ignores = (options = []) => [
46
46
  "**/.history",
47
47
  "**/.idea",
48
48
  "**/.next",
49
+ "**/.nx",
49
50
  "**/.nyc_output",
51
+ "**/.turbo",
50
52
  "**/.vercel",
51
53
  "**/.vite-inspect",
52
54
  "**/.vitepress/cache",
@@ -1888,14 +1890,33 @@ const typescript = ({
1888
1890
  ...overrides
1889
1891
  },
1890
1892
  settings: {
1891
- "import/extensions": [".js", ".jsx", ".mjs", ".mts", ".ts", ".tsx"],
1893
+ "import/extensions": [
1894
+ ".cjs",
1895
+ ".cts",
1896
+ ".js",
1897
+ ".jsx",
1898
+ ".mjs",
1899
+ ".mts",
1900
+ ".ts",
1901
+ ".tsx"
1902
+ ],
1892
1903
  "import/external-module-folders": ["node_modules", "node_modules/@types"],
1893
1904
  "import/parsers": {
1894
- "@typescript-eslint/parser": [".mts", ".ts", ".tsx"]
1905
+ "@typescript-eslint/parser": [".cts", ".mts", ".ts", ".tsx"]
1895
1906
  },
1896
1907
  "import/resolver": {
1897
1908
  node: {
1898
- extensions: [".js", ".json", ".jsx", ".mjs", ".mts", ".ts", ".tsx"]
1909
+ extensions: [
1910
+ ".cjs",
1911
+ ".cts",
1912
+ ".js",
1913
+ ".json",
1914
+ ".jsx",
1915
+ ".mjs",
1916
+ ".mts",
1917
+ ".ts",
1918
+ ".tsx"
1919
+ ]
1899
1920
  }
1900
1921
  }
1901
1922
  }
package/dist/index.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  import eslintCommentsPlugin from 'eslint-plugin-eslint-comments';
2
- import importPlugin from 'eslint-plugin-i';
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';
@@ -34,7 +34,9 @@ const ignores = (options = []) => [
34
34
  "**/.history",
35
35
  "**/.idea",
36
36
  "**/.next",
37
+ "**/.nx",
37
38
  "**/.nyc_output",
39
+ "**/.turbo",
38
40
  "**/.vercel",
39
41
  "**/.vite-inspect",
40
42
  "**/.vitepress/cache",
@@ -1876,14 +1878,33 @@ const typescript = ({
1876
1878
  ...overrides
1877
1879
  },
1878
1880
  settings: {
1879
- "import/extensions": [".js", ".jsx", ".mjs", ".mts", ".ts", ".tsx"],
1881
+ "import/extensions": [
1882
+ ".cjs",
1883
+ ".cts",
1884
+ ".js",
1885
+ ".jsx",
1886
+ ".mjs",
1887
+ ".mts",
1888
+ ".ts",
1889
+ ".tsx"
1890
+ ],
1880
1891
  "import/external-module-folders": ["node_modules", "node_modules/@types"],
1881
1892
  "import/parsers": {
1882
- "@typescript-eslint/parser": [".mts", ".ts", ".tsx"]
1893
+ "@typescript-eslint/parser": [".cts", ".mts", ".ts", ".tsx"]
1883
1894
  },
1884
1895
  "import/resolver": {
1885
1896
  node: {
1886
- extensions: [".js", ".json", ".jsx", ".mjs", ".mts", ".ts", ".tsx"]
1897
+ extensions: [
1898
+ ".cjs",
1899
+ ".cts",
1900
+ ".js",
1901
+ ".json",
1902
+ ".jsx",
1903
+ ".mjs",
1904
+ ".mts",
1905
+ ".ts",
1906
+ ".tsx"
1907
+ ]
1887
1908
  }
1888
1909
  }
1889
1910
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@meteorlxy/eslint-config",
3
- "version": "3.6.0",
3
+ "version": "3.8.0",
4
4
  "description": "meteorlxy eslint config",
5
5
  "keywords": [
6
6
  "config",
@@ -32,25 +32,25 @@
32
32
  "clean": "rimraf ./dist"
33
33
  },
34
34
  "dependencies": {
35
- "@typescript-eslint/eslint-plugin": "^7.10.0",
36
- "@typescript-eslint/parser": "^7.10.0",
37
- "@typescript-eslint/utils": "^7.10.0",
35
+ "@typescript-eslint/eslint-plugin": "^7.16.0",
36
+ "@typescript-eslint/parser": "^7.16.0",
37
+ "@typescript-eslint/utils": "^7.16.0",
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-i": "^2.29.1",
42
- "eslint-plugin-markdown": "^5.0.0",
43
- "globals": "^15.3.0"
41
+ "eslint-plugin-import-x": "^3.0.1",
42
+ "eslint-plugin-markdown": "^5.1.0",
43
+ "globals": "^15.8.0"
44
44
  },
45
45
  "devDependencies": {
46
46
  "@types/confusing-browser-globals": "^1.0.3",
47
47
  "@types/eslint": "^8.56.10",
48
48
  "eslint": "^8.57.0",
49
- "eslint-plugin-react": "^7.34.1",
49
+ "eslint-plugin-react": "^7.34.4",
50
50
  "eslint-plugin-react-hooks": "^4.6.2",
51
- "eslint-plugin-react-refresh": "^0.4.7",
52
- "eslint-plugin-vue": "^9.26.0",
53
- "vue-eslint-parser": "^9.4.2"
51
+ "eslint-plugin-react-refresh": "^0.4.8",
52
+ "eslint-plugin-vue": "^9.27.0",
53
+ "vue-eslint-parser": "^9.4.3"
54
54
  },
55
55
  "peerDependencies": {
56
56
  "eslint-plugin-react": "^7.34.1",
@@ -79,5 +79,5 @@
79
79
  "publishConfig": {
80
80
  "access": "public"
81
81
  },
82
- "gitHead": "1b6034adcc2468ec3b4f59bbe3bb10f18256d5d2"
82
+ "gitHead": "56e5a2c7d9e89512c30186db3e540fff0854996d"
83
83
  }