@nexim/eslint-config 2.0.0-alpha.1 → 2.0.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/CHANGELOG.md CHANGED
@@ -3,6 +3,17 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [2.0.0](https://github.com/the-nexim/nanolib/compare/@nexim/eslint-config@2.0.0-alpha.1...@nexim/eslint-config@2.0.0) (2025-04-21)
7
+
8
+ ### Features
9
+
10
+ * **eslint-config:** add import order plugin ([5b89b33](https://github.com/the-nexim/nanolib/commit/5b89b33f11113eab4389ffd1190aa5818b5bb43a)) by @
11
+ * **eslint-config:** remove strict type checking ([6d2fc85](https://github.com/the-nexim/nanolib/commit/6d2fc85f08520377c2f78c31c2d8ce039329649d)) by @
12
+
13
+ ### Bug Fixes
14
+
15
+ * **eslint-config:** enhance based production configs ([e512caa](https://github.com/the-nexim/nanolib/commit/e512caa869e3d10f941ec53e16587019fe5fbc42)) by @
16
+
6
17
  ## [2.0.0-alpha.1](https://github.com/the-nexim/nanolib/compare/@nexim/eslint-config@2.0.0-alpha.0...@nexim/eslint-config@2.0.0-alpha.1) (2025-01-22)
7
18
 
8
19
  **Note:** Version bump only for package @nexim/eslint-config
package/README.md CHANGED
@@ -10,7 +10,7 @@ Nexim ECMAScript Style Guide as a ESLint [shareable configurations](http://eslin
10
10
  ## Installation
11
11
 
12
12
  ```bash
13
- yarn add -D @nexim/eslint-config eslint @eslint/compat
13
+ yarn add -D @nexim/eslint-config eslint @eslint/compat eslint-import-resolver-typescript
14
14
  ```
15
15
 
16
16
  ## Usage
@@ -1 +1 @@
1
- {"version":3,"file":"extended-config.d.ts","sourceRoot":"","sources":["../../src/lib/extended-config.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,WAAW,qEAOvB,CAAC"}
1
+ {"version":3,"file":"extended-config.d.ts","sourceRoot":"","sources":["../../src/lib/extended-config.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,WAAW,qEAKvB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"javascript-config.d.ts","sourceRoot":"","sources":["../../src/lib/javascript-config.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,SAAS,qEAmBpB,CAAC"}
1
+ {"version":3,"file":"javascript-config.d.ts","sourceRoot":"","sources":["../../src/lib/javascript-config.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,SAAS,qEAoBpB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"typescript-config.d.ts","sourceRoot":"","sources":["../../src/lib/typescript-config.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,QAAQ,qEAoEnB,CAAC"}
1
+ {"version":3,"file":"typescript-config.d.ts","sourceRoot":"","sources":["../../src/lib/typescript-config.ts"],"names":[],"mappings":"AASA,eAAO,MAAM,QAAQ,qEA8EnB,CAAC"}
package/dist/main.mjs CHANGED
@@ -1,27 +1,29 @@
1
- /* @nexim/eslint-config v2.0.0-alpha.1 */
1
+ /* @nexim/eslint-config v2.0.0 */
2
2
 
3
3
  // src/lib/typescript-config.ts
4
4
  import * as globals from "globals";
5
+ import importPlugin from "eslint-plugin-import";
5
6
  import stylistic from "@stylistic/eslint-plugin";
6
7
  import tsdocPlugin from "eslint-plugin-tsdoc";
7
- import tseslint from "typescript-eslint";
8
+ import { plugin, parser, config } from "typescript-eslint";
8
9
  var tsconfigRootDir = import.meta.dirname;
9
- var tsConfig = tseslint.config({
10
- files: ["**/*.ts", "**/*.mjs", "**/*.cjs", "**/*.js"],
10
+ var tsConfig = config({
11
+ files: ["**/*.{ts,tsx}"],
11
12
  languageOptions: {
12
13
  globals: {
13
14
  ...globals["shared-node-browser"]
14
15
  },
15
16
  ecmaVersion: "latest",
16
17
  sourceType: "module",
17
- parser: tseslint.parser,
18
+ parser,
18
19
  parserOptions: {
19
20
  projectService: true,
20
21
  tsconfigRootDir
21
22
  }
22
23
  },
24
+ extends: [importPlugin.flatConfigs.recommended, importPlugin.flatConfigs.typescript],
23
25
  plugins: {
24
- "@typescript-eslint": tseslint.plugin,
26
+ "@typescript-eslint": plugin,
25
27
  "@stylistic": stylistic,
26
28
  tsdoc: tsdocPlugin
27
29
  },
@@ -30,7 +32,6 @@ var tsConfig = tseslint.config({
30
32
  "no-eval": ["error", { allowIndirect: true }],
31
33
  "@stylistic/no-floating-decimal": "error",
32
34
  "@stylistic/space-infix-ops": "error",
33
- "new-cap": ["error", { capIsNewExceptionPattern: "Mini$" }],
34
35
  "@stylistic/brace-style": ["error", "stroustrup", { allowSingleLine: true }],
35
36
  "@stylistic/array-bracket-spacing": ["error", "always"],
36
37
  "@stylistic/indent": [
@@ -63,31 +64,42 @@ var tsConfig = tseslint.config({
63
64
  "tsdoc/syntax": "warn",
64
65
  "no-unused-vars": "off",
65
66
  "prefer-const": "error",
66
- "sort-imports": ["error"],
67
+ // 'sort-imports': 'error',
67
68
  "@typescript-eslint/prefer-string-starts-ends-with": "off",
68
69
  "@typescript-eslint/no-dynamic-delete": "off",
69
70
  "@typescript-eslint/no-non-null-assertion": "off",
70
71
  "no-unused-labels": "off",
71
72
  "require-await": "error",
72
73
  "@typescript-eslint/consistent-type-definitions": "off"
74
+ },
75
+ settings: {
76
+ "import/resolver": {
77
+ typescript: {
78
+ alwaysTryTypes: true,
79
+ project: [tsconfigRootDir]
80
+ },
81
+ node: {}
82
+ }
73
83
  }
74
84
  });
75
85
 
76
86
  // src/lib/javascript-config.ts
77
87
  import * as globals2 from "globals";
78
88
  import tsdocPlugin2 from "eslint-plugin-tsdoc";
79
- import tseslint2 from "typescript-eslint";
80
- var jsConfigs = tseslint2.config({
81
- extends: [tseslint2.configs.disableTypeChecked],
82
- files: ["*.{mjs,js,cjs}", "**/*.{mjs,js,cjs}"],
89
+ import { plugin as plugin2, configs, config as config2 } from "typescript-eslint";
90
+ var jsConfigs = config2({
91
+ extends: [configs.disableTypeChecked],
92
+ files: ["**/*.{mjs,js,cjs}"],
83
93
  plugins: {
84
- "@typescript-eslint": tseslint2.plugin,
94
+ "@typescript-eslint": plugin2,
85
95
  tsdoc: tsdocPlugin2
86
96
  },
87
97
  languageOptions: {
88
98
  globals: {
89
99
  ...globals2.commonjs,
90
- ...globals2.node
100
+ ...globals2.node,
101
+ console: "readonly"
102
+ // TODO: why is this not in globals?
91
103
  },
92
104
  sourceType: "commonjs"
93
105
  },
@@ -100,19 +112,16 @@ var jsConfigs = tseslint2.config({
100
112
 
101
113
  // src/lib/extended-config.ts
102
114
  import eslintJs from "@eslint/js";
103
- import tseslint3 from "typescript-eslint";
104
- var baseExtends = tseslint3.config(
115
+ import { config as config3, configs as configs2 } from "typescript-eslint";
116
+ var baseExtends = config3(
105
117
  eslintJs.configs.recommended,
106
- tseslint3.configs.strict,
107
- tseslint3.configs.stylistic,
108
- tseslint3.configs.strictTypeChecked,
109
- tseslint3.configs.stylisticTypeChecked,
110
- tseslint3.configs.recommendedTypeChecked
118
+ configs2.strict,
119
+ configs2.stylistic,
120
+ configs2.stylisticTypeChecked
111
121
  );
112
122
  export {
113
123
  baseExtends,
114
124
  jsConfigs,
115
125
  tsConfig
116
126
  };
117
- /*! For license information please see main.mjs.LEGAL.txt */
118
127
  //# sourceMappingURL=main.mjs.map
package/dist/main.mjs.map CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../src/lib/typescript-config.ts", "../src/lib/javascript-config.ts", "../src/lib/extended-config.ts"],
4
- "sourcesContent": ["import * as globals from 'globals';\nimport stylistic from '@stylistic/eslint-plugin';\nimport tsdocPlugin from 'eslint-plugin-tsdoc';\nimport tseslint from 'typescript-eslint';\n\nconst tsconfigRootDir = import.meta.dirname;\n\nexport const tsConfig = tseslint.config({\n files: [ '**/*.ts', '**/*.mjs', '**/*.cjs', '**/*.js' ],\n languageOptions: {\n globals: {\n ...globals['shared-node-browser'],\n },\n ecmaVersion: 'latest',\n sourceType: 'module',\n parser: tseslint.parser,\n parserOptions: {\n projectService: true,\n tsconfigRootDir,\n },\n },\n plugins: {\n '@typescript-eslint': tseslint.plugin,\n '@stylistic': stylistic,\n tsdoc: tsdocPlugin,\n },\n rules: {\n '@stylistic/max-len': [ 'error', { code: 140 } ],\n 'no-eval': [ 'error', { allowIndirect: true } ],\n '@stylistic/no-floating-decimal': 'error',\n '@stylistic/space-infix-ops': 'error',\n 'new-cap': [ 'error', { capIsNewExceptionPattern: 'Mini$' } ],\n '@stylistic/brace-style': [ 'error', 'stroustrup', { allowSingleLine: true } ],\n '@stylistic/array-bracket-spacing': [ 'error', 'always' ],\n '@stylistic/indent': [\n 'error',\n 2,\n {\n SwitchCase: 1,\n VariableDeclarator: 1,\n outerIIFEBody: 1,\n MemberExpression: 1,\n FunctionDeclaration: { parameters: 1, body: 1 },\n FunctionExpression: { parameters: 1, body: 1 },\n CallExpression: { arguments: 1 },\n ArrayExpression: 1,\n ObjectExpression: 1,\n ImportDeclaration: 1,\n flatTernaryExpressions: false,\n ignoreComments: false,\n ignoredNodes: [\n 'TemplateLiteral *',\n 'TSTypeParameterInstantiation',\n 'FunctionExpression > .params[decorators.length > 0]',\n 'FunctionExpression > .params > :matches(Decorator, :not(:first-child))',\n 'ClassBody.body > PropertyDefinition[decorators.length > 0] > .key',\n ],\n },\n ],\n '@stylistic/operator-linebreak': [ 'error', 'after', { overrides: { '?': 'before', ':': 'before' } } ],\n\n '@stylistic/semi': 'error',\n 'tsdoc/syntax': 'warn',\n\n 'no-unused-vars': 'off',\n 'prefer-const': 'error',\n 'sort-imports': [ 'error' ],\n\n '@typescript-eslint/prefer-string-starts-ends-with': 'off',\n '@typescript-eslint/no-dynamic-delete': 'off',\n '@typescript-eslint/no-non-null-assertion': 'off',\n 'no-unused-labels': 'off',\n 'require-await': 'error',\n '@typescript-eslint/consistent-type-definitions': 'off',\n },\n});\n", "import * as globals from 'globals';\nimport tsdocPlugin from 'eslint-plugin-tsdoc';\nimport tseslint from 'typescript-eslint';\n\nexport const jsConfigs = tseslint.config({\n extends: [ tseslint.configs.disableTypeChecked ],\n files: [ '*.{mjs,js,cjs}', '**/*.{mjs,js,cjs}' ],\n plugins: {\n '@typescript-eslint': tseslint.plugin,\n tsdoc: tsdocPlugin,\n },\n languageOptions: {\n globals: {\n ...globals.commonjs,\n ...globals.node,\n },\n sourceType: 'commonjs',\n },\n rules: {\n '@typescript-eslint/no-require-imports': 'off',\n '@typescript-eslint/explicit-module-boundary-types': 'off',\n 'tsdoc/syntax': 'off',\n },\n});\n", "import eslintJs from '@eslint/js';\nimport tseslint from 'typescript-eslint';\n\nexport const baseExtends = tseslint.config(\n eslintJs.configs.recommended,\n tseslint.configs.strict,\n tseslint.configs.stylistic,\n tseslint.configs.strictTypeChecked,\n tseslint.configs.stylisticTypeChecked,\n tseslint.configs.recommendedTypeChecked,\n);\n"],
5
- "mappings": ";;;AAAA,YAAY,aAAa;AACzB,OAAO,eAAe;AACtB,OAAO,iBAAiB;AACxB,OAAO,cAAc;AAErB,IAAM,kBAAkB,YAAY;AAE7B,IAAM,WAAW,SAAS,OAAO;AAAA,EACtC,OAAO,CAAE,WAAW,YAAY,YAAY,SAAU;AAAA,EACtD,iBAAiB;AAAA,IACf,SAAS;AAAA,MACP,GAAW;AAAA,IACb;AAAA,IACA,aAAa;AAAA,IACb,YAAY;AAAA,IACZ,QAAQ,SAAS;AAAA,IACjB,eAAe;AAAA,MACb,gBAAgB;AAAA,MAChB;AAAA,IACF;AAAA,EACF;AAAA,EACA,SAAS;AAAA,IACP,sBAAsB,SAAS;AAAA,IAC/B,cAAc;AAAA,IACd,OAAO;AAAA,EACT;AAAA,EACA,OAAO;AAAA,IACL,sBAAsB,CAAE,SAAS,EAAE,MAAM,IAAI,CAAE;AAAA,IAC/C,WAAW,CAAE,SAAS,EAAE,eAAe,KAAK,CAAE;AAAA,IAC9C,kCAAkC;AAAA,IAClC,8BAA8B;AAAA,IAC9B,WAAW,CAAE,SAAS,EAAE,0BAA0B,QAAQ,CAAE;AAAA,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;AAAA,MACP,GAAW;AAAA,MACX,GAAW;AAAA,IACb;AAAA,IACA,YAAY;AAAA,EACd;AAAA,EACA,OAAO;AAAA,IACL,yCAAyC;AAAA,IACzC,qDAAqD;AAAA,IACrD,gBAAgB;AAAA,EAClB;AACF,CAAC;;;ACvBD,OAAO,cAAc;AACrB,OAAOE,eAAc;AAEd,IAAM,cAAcA,UAAS;AAAA,EAClC,SAAS,QAAQ;AAAA,EACjBA,UAAS,QAAQ;AAAA,EACjBA,UAAS,QAAQ;AAAA,EACjBA,UAAS,QAAQ;AAAA,EACjBA,UAAS,QAAQ;AAAA,EACjBA,UAAS,QAAQ;AACnB;",
6
- "names": ["globals", "tsdocPlugin", "tseslint", "tseslint"]
4
+ "sourcesContent": ["import * as globals from 'globals';\n// @ts-expect-error - don't have types\nimport importPlugin from 'eslint-plugin-import';\nimport stylistic from '@stylistic/eslint-plugin';\nimport tsdocPlugin from 'eslint-plugin-tsdoc';\nimport { plugin, parser, config } from 'typescript-eslint';\n\nconst tsconfigRootDir = import.meta.dirname;\n\nexport const tsConfig = config({\n files: [ '**/*.{ts,tsx}' ],\n languageOptions: {\n globals: {\n ...globals['shared-node-browser'],\n },\n ecmaVersion: 'latest',\n sourceType: 'module',\n parser: parser,\n parserOptions: {\n projectService: true,\n tsconfigRootDir,\n },\n },\n\n extends: [ importPlugin.flatConfigs.recommended, importPlugin.flatConfigs.typescript ],\n plugins: {\n '@typescript-eslint': plugin,\n '@stylistic': stylistic,\n tsdoc: tsdocPlugin,\n },\n rules: {\n '@stylistic/max-len': [ 'error', { code: 140 } ],\n 'no-eval': [ 'error', { allowIndirect: true } ],\n '@stylistic/no-floating-decimal': 'error',\n '@stylistic/space-infix-ops': 'error',\n '@stylistic/brace-style': [ 'error', 'stroustrup', { allowSingleLine: true } ],\n '@stylistic/array-bracket-spacing': [ 'error', 'always' ],\n '@stylistic/indent': [\n 'error',\n 2,\n {\n SwitchCase: 1,\n VariableDeclarator: 1,\n outerIIFEBody: 1,\n MemberExpression: 1,\n FunctionDeclaration: { parameters: 1, body: 1 },\n FunctionExpression: { parameters: 1, body: 1 },\n CallExpression: { arguments: 1 },\n ArrayExpression: 1,\n ObjectExpression: 1,\n ImportDeclaration: 1,\n flatTernaryExpressions: false,\n ignoreComments: false,\n ignoredNodes: [\n 'TemplateLiteral *',\n 'TSTypeParameterInstantiation',\n 'FunctionExpression > .params[decorators.length > 0]',\n 'FunctionExpression > .params > :matches(Decorator, :not(:first-child))',\n 'ClassBody.body > PropertyDefinition[decorators.length > 0] > .key',\n ],\n },\n ],\n '@stylistic/operator-linebreak': [ 'error', 'after', { overrides: { '?': 'before', ':': 'before' } } ],\n\n '@stylistic/semi': 'error',\n 'tsdoc/syntax': 'warn',\n\n 'no-unused-vars': 'off',\n 'prefer-const': 'error',\n // 'sort-imports': 'error',\n\n '@typescript-eslint/prefer-string-starts-ends-with': 'off',\n '@typescript-eslint/no-dynamic-delete': 'off',\n '@typescript-eslint/no-non-null-assertion': 'off',\n 'no-unused-labels': 'off',\n 'require-await': 'error',\n '@typescript-eslint/consistent-type-definitions': 'off',\n },\n settings: {\n 'import/resolver': {\n typescript: {\n alwaysTryTypes: true,\n project: [ tsconfigRootDir ],\n },\n node: {},\n },\n },\n});\n", "import * as globals from 'globals';\nimport tsdocPlugin from 'eslint-plugin-tsdoc';\nimport { plugin, configs, config } from 'typescript-eslint';\n\nexport const jsConfigs = config({\n extends: [ configs.disableTypeChecked ],\n files: [ '**/*.{mjs,js,cjs}' ],\n plugins: {\n '@typescript-eslint': plugin,\n tsdoc: tsdocPlugin,\n },\n languageOptions: {\n globals: {\n ...globals.commonjs,\n ...globals.node,\n console: 'readonly', // TODO: why is this not in globals?\n },\n sourceType: 'commonjs',\n },\n rules: {\n '@typescript-eslint/no-require-imports': 'off',\n '@typescript-eslint/explicit-module-boundary-types': 'off',\n 'tsdoc/syntax': 'off',\n },\n});\n", "import eslintJs from '@eslint/js';\nimport {config, configs} from 'typescript-eslint';\n\nexport const baseExtends =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C,SAAQ;AAAA,EACRA,SAAQ;AAAA,EACRA,SAAQ;AACV;",
6
+ "names": ["globals", "tsdocPlugin", "plugin", "config", "config", "configs"]
7
7
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nexim/eslint-config",
3
- "version": "2.0.0-alpha.1",
3
+ "version": "2.0.0",
4
4
  "description": "Base Eslint configuration for Nexim projects.",
5
5
  "keywords": [
6
6
  "eslint",
@@ -56,23 +56,25 @@
56
56
  "watch": "wireit"
57
57
  },
58
58
  "dependencies": {
59
- "@eslint/compat": "^1.2.5",
60
- "@eslint/js": "^9.18.0",
61
- "@stylistic/eslint-plugin": "^2.13.0",
62
- "eslint": "^9.18.0",
59
+ "@eslint/compat": "^1.2.8",
60
+ "@eslint/js": "^9.25.0",
61
+ "@stylistic/eslint-plugin": "^4.2.0",
62
+ "@typescript-eslint/parser": "^8.30.1",
63
+ "eslint": "^9.25.0",
64
+ "eslint-import-resolver-typescript": "^4.3.3",
63
65
  "eslint-plugin-import": "^2.31.0",
64
66
  "eslint-plugin-tsdoc": "^0.4.0",
65
- "globals": "^15.14.0",
66
- "typescript-eslint": "^8.21.0"
67
+ "globals": "^16.0.0",
68
+ "typescript-eslint": "^8.30.1"
67
69
  },
68
70
  "devDependencies": {
69
- "@alwatr/nano-build": "^5.0.0",
70
- "@alwatr/type-helper": "^5.0.0",
71
+ "@alwatr/nano-build": "^5.5.3",
72
+ "@alwatr/type-helper": "^5.4.1",
71
73
  "@nexim/typescript-config": "^2.0.0",
72
74
  "@types/eslint": "^9.6.1",
73
- "@types/node": "^22.10.7",
74
- "typescript": "^5.7.3",
75
- "wireit": "^0.14.9"
75
+ "@types/node": "^22.14.1",
76
+ "typescript": "^5.8.3",
77
+ "wireit": "^0.14.12"
76
78
  },
77
79
  "peerDependencies": {
78
80
  "@eslint/compat": ">1.0.0 <2.0.0",
@@ -93,7 +95,7 @@
93
95
  ]
94
96
  },
95
97
  "build:es": {
96
- "command": "nano-build --preset=module",
98
+ "command": "yarn nano-build --preset=module",
97
99
  "files": [
98
100
  "src",
99
101
  "tsconfig.json"
@@ -119,9 +121,9 @@
119
121
  ]
120
122
  },
121
123
  "watch:es": {
122
- "command": "nano-build --preset=module -- --watch",
124
+ "command": "yarn nano-build --preset=module -- --watch",
123
125
  "service": true
124
126
  }
125
127
  },
126
- "gitHead": "ed72ebc29e13003729801c36d67fe371a62b4937"
128
+ "gitHead": "9de5378e06a34784f1b5fff2fead17990d569e41"
127
129
  }
File without changes