You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: HISTORY.md
+11-3Lines changed: 11 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,19 +1,27 @@
1
1
# History
2
2
3
-
## v6.1.5 2025 August 8
3
+
## v6.1.6 2025 August 13
4
+
5
+
- Disable `n/no-unpublished-import` completely, as it is broken in general, not just in TypeScript environments
6
+
- Fix loading of your `tsconfig` files
7
+
- Fix loading of your `package.json` eslint configuration
8
+
- Updated dependencies, [base files](https://github.com/bevry/base), and [editions](https://editions.bevry.me) using [boundation](https://github.com/bevry/boundation)
9
+
- Thank you to the sponsors: [Andrew Nesbitt](https://nesbitt.io), [Divinci ™](https://divinci.ai), [Mr. Henry](https://mrhenry.be), [Poonacha Medappa](https://poonachamedappa.com), [Roboflow](https://roboflow.com), [Square](https://github.com/square)
10
+
11
+
## v6.1.5 2025 August 12
4
12
5
13
- Renamed the rule extensions for brevity and clarity
6
14
- Add `eslint-config-bevry/typescript/es5` configuration for TypeScript ES5 targets, which ignores the `@typescript-eslint/prefer-for-of` rule, as it is not supported in ES5
7
15
- Updated dependencies, [base files](https://github.com/bevry/base), and [editions](https://editions.bevry.me) using [boundation](https://github.com/bevry/boundation)
8
16
- Thank you to the sponsors: [Andrew Nesbitt](https://nesbitt.io), [Divinci ™](https://divinci.ai), [Mr. Henry](https://mrhenry.be), [Poonacha Medappa](https://poonachamedappa.com), [Roboflow](https://roboflow.com), [Square](https://github.com/square)
9
17
10
-
## v6.1.4 2025 August 8
18
+
## v6.1.4 2025 August 12
11
19
12
20
- Disable potentially useful but broken `n/no-unsupported-features/es-syntax` rule, as it does not respect the `ecmaVersion` setting, and instead prefers to use the Node.js engine version, which is not what we want when using a transpiler, and is disrespectful as our configuration knows better, hence why there is even an `ecmaVersion` setting in the first place, they should rename this rule to `n/no-unsupported-features/node-syntax` as that it what it actually is
13
21
- In a future version, we could use [editions](https://editions.bevry.me) to get the highest compatible Node.js version, and configure it for that, as a workaround for this silly behaviour
14
22
- Thank you to the sponsors: [Andrew Nesbitt](https://nesbitt.io), [Divinci ™](https://divinci.ai), [Mr. Henry](https://mrhenry.be), [Poonacha Medappa](https://poonachamedappa.com), [Roboflow](https://roboflow.com), [Square](https://github.com/square)
15
23
16
-
## v6.1.3 2025 August 8
24
+
## v6.1.3 2025 August 12
17
25
18
26
- ECMAScript version handling is now more robust, handling both target and source ecmascript versions
19
27
- Our rule customisations are now extensions themselves injected at the appropriate time to better avoid conflicts and redundancies with other plugin rules
Copy file name to clipboardExpand all lines: package.json
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
{
2
2
"name": "eslint-config-bevry",
3
-
"version": "6.1.5",
3
+
"version": "6.1.6",
4
4
"license": "Artistic-2.0",
5
5
"description": "Intelligent, self-configuring ESLint configuration that automatically analyzes your project structure, dependencies, and metadata to apply optimal linting rules for JavaScript, TypeScript, React, Node.js, and more.",
Copy file name to clipboardExpand all lines: source/index.js
+52-34Lines changed: 52 additions & 34 deletions
Original file line number
Diff line number
Diff line change
@@ -14,51 +14,70 @@ import eslintJSDoc from 'eslint-plugin-jsdoc'
14
14
importbabelParserfrom'@babel/eslint-parser'
15
15
importbabelPluginfrom'@babel/eslint-plugin'
16
16
17
-
// @ts-ignore
17
+
// Our dependencies
18
18
importversionCleanfrom'version-clean'
19
+
20
+
// Node.js dependencies
19
21
import{join}from'node:path'
20
22
import{cwd}from'node:process'
21
-
import{readJSON}from'@bevry/json'
22
23
24
+
// Local imports
25
+
import*asrulesfrom'./rules.js'
26
+
27
+
// Local paths
28
+
import{readJSON}from'@bevry/json'
23
29
importfiledirnamefrom'filedirname'
24
30
const[,dirname]=filedirname()
25
-
constroot=dirname.endsWith('source') ? join(dirname,'..') : dirname// on CI dirname is: /home/runner/work/eslint-config-bevry/eslint-config-bevry/source
// This result is broken for TypeScript projects, as in TypeScript you do `import thing from file.js` instead of `file.ts`, as it is about the resultant file, not the source file; TypeScript handles this correctly, however this rule does not
// This result is broken for TypeScript projects, as in TypeScript you do `import thing from file.js` instead of `file.ts`, as it is about the resultant file, not the source file; TypeScript handles this correctly, however this rule does not
1156
+
// However, it is also broken for this very project too, which is a JavaScript only project, so it is just broken in general...
1157
+
'n/no-unpublished-import': IGNORE,
1145
1158
},
1146
1159
}
1147
1160
1161
+
/** ESLint configuration for Node.js projects that use compilation/transpilation */
0 commit comments