pr-checkmate 1.20.0 → 1.20.1
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/.eslintrc.js +2 -0
- package/eslint.config.mjs +6 -1
- package/package.json +5 -4
- package/src/config/.eslintrc.js +2 -0
- package/src/config/eslint.config.mjs +6 -1
package/.eslintrc.js
CHANGED
package/eslint.config.mjs
CHANGED
|
@@ -100,6 +100,8 @@ const mergedRules = {
|
|
|
100
100
|
// Merge default ignores with user-defined ignores
|
|
101
101
|
const mergedIgnores = [
|
|
102
102
|
...defaultIgnores,
|
|
103
|
+
'**/.eslintrc.js',
|
|
104
|
+
'**/eslint.config.mjs',
|
|
103
105
|
...(userConfig.eslint?.ignorePatterns || []),
|
|
104
106
|
];
|
|
105
107
|
|
|
@@ -117,9 +119,12 @@ if (customIgnoresCount > 0) {
|
|
|
117
119
|
console.log(`📋 ESLint checking: ${SRC}/**/*.{ts,tsx,js,jsx}`);
|
|
118
120
|
|
|
119
121
|
export default [
|
|
122
|
+
// Global ignores must be in a separate config object
|
|
120
123
|
{
|
|
121
|
-
files: [`${SRC}/**/*.{ts,tsx,js,jsx}`],
|
|
122
124
|
ignores: mergedIgnores,
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
files: [`${SRC}/**/*.{ts,tsx,js,jsx}`],
|
|
123
128
|
|
|
124
129
|
languageOptions: {
|
|
125
130
|
parser: tsParser,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pr-checkmate",
|
|
3
|
-
"version": "1.20.
|
|
3
|
+
"version": "1.20.1",
|
|
4
4
|
"description": "Automated PR quality checks: linting, formatting, dependency analysis, and spellcheck",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"github-actions",
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
"@typescript-eslint/parser": "^8.47.0",
|
|
67
67
|
"cspell": "^9.3.2",
|
|
68
68
|
"dotenv": "^17.2.3",
|
|
69
|
-
"eslint": "
|
|
69
|
+
"eslint": "^9.26.0",
|
|
70
70
|
"eslint-config-prettier": "^9.1.2",
|
|
71
71
|
"eslint-plugin-import": "^2.29.0",
|
|
72
72
|
"eslint-plugin-prettier": "^5.5.4",
|
|
@@ -81,10 +81,11 @@
|
|
|
81
81
|
"standard-version": "^9.5.0"
|
|
82
82
|
},
|
|
83
83
|
"peerDependencies": {
|
|
84
|
-
"eslint": "
|
|
84
|
+
"eslint": "^9.26.0",
|
|
85
85
|
"prettier": ">=3.0.0"
|
|
86
86
|
},
|
|
87
87
|
"overrides": {
|
|
88
|
-
"tar": "^7.5.7"
|
|
88
|
+
"tar": "^7.5.7",
|
|
89
|
+
"diff": "^5.0.0"
|
|
89
90
|
}
|
|
90
91
|
}
|
package/src/config/.eslintrc.js
CHANGED
|
@@ -100,6 +100,8 @@ const mergedRules = {
|
|
|
100
100
|
// Merge default ignores with user-defined ignores
|
|
101
101
|
const mergedIgnores = [
|
|
102
102
|
...defaultIgnores,
|
|
103
|
+
'**/.eslintrc.js',
|
|
104
|
+
'**/eslint.config.mjs',
|
|
103
105
|
...(userConfig.eslint?.ignorePatterns || []),
|
|
104
106
|
];
|
|
105
107
|
|
|
@@ -117,9 +119,12 @@ if (customIgnoresCount > 0) {
|
|
|
117
119
|
console.log(`📋 ESLint checking: ${SRC}/**/*.{ts,tsx,js,jsx}`);
|
|
118
120
|
|
|
119
121
|
export default [
|
|
122
|
+
// Global ignores must be in a separate config object
|
|
120
123
|
{
|
|
121
|
-
files: [`${SRC}/**/*.{ts,tsx,js,jsx}`],
|
|
122
124
|
ignores: mergedIgnores,
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
files: [`${SRC}/**/*.{ts,tsx,js,jsx}`],
|
|
123
128
|
|
|
124
129
|
languageOptions: {
|
|
125
130
|
parser: tsParser,
|