pr-checkmate 1.0.21 → 1.0.23
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/.eslintignore +71 -0
- package/dist/config/constants.js +9 -1
- package/eslint.config.mjs +16 -4
- package/package.json +2 -1
package/.eslintignore
ADDED
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
# Dependencies
|
|
2
|
+
**/node_modules/**
|
|
3
|
+
|
|
4
|
+
# Build outputs
|
|
5
|
+
**/dist/**
|
|
6
|
+
**/build/**
|
|
7
|
+
**/out/**
|
|
8
|
+
**/.next/**
|
|
9
|
+
**/.nuxt/**
|
|
10
|
+
|
|
11
|
+
# Test reports & artifacts
|
|
12
|
+
**/allure-report/**
|
|
13
|
+
**/allure-results/**
|
|
14
|
+
**/reports/**
|
|
15
|
+
**/report/**
|
|
16
|
+
**/test-reports/**
|
|
17
|
+
**/test-report/**
|
|
18
|
+
**/test-output/**
|
|
19
|
+
**/test-results/**
|
|
20
|
+
**/results/**
|
|
21
|
+
**/result/**
|
|
22
|
+
**/coverage/**
|
|
23
|
+
**/.coverage/**
|
|
24
|
+
**/htmlcov/**
|
|
25
|
+
|
|
26
|
+
# Jest
|
|
27
|
+
**/jest-html-reporters-*/**
|
|
28
|
+
**/jest-stare/**
|
|
29
|
+
|
|
30
|
+
# Cypress
|
|
31
|
+
**/cypress/reports/**
|
|
32
|
+
**/cypress/videos/**
|
|
33
|
+
**/cypress/screenshots/**
|
|
34
|
+
|
|
35
|
+
# Playwright
|
|
36
|
+
**/playwright-report/**
|
|
37
|
+
**/test-results/**
|
|
38
|
+
|
|
39
|
+
# WebdriverIO
|
|
40
|
+
**/.wdio/**
|
|
41
|
+
**/wdio-logs/**
|
|
42
|
+
|
|
43
|
+
# Mocha/Mochawesome
|
|
44
|
+
**/mochawesome-report/**
|
|
45
|
+
**/mochawesome-reports/**
|
|
46
|
+
|
|
47
|
+
# Maven/JUnit
|
|
48
|
+
**/target/**
|
|
49
|
+
|
|
50
|
+
# Logs
|
|
51
|
+
**/logs/**
|
|
52
|
+
**/*.log
|
|
53
|
+
**/npm-debug.log*
|
|
54
|
+
**/yarn-debug.log*
|
|
55
|
+
|
|
56
|
+
# Python
|
|
57
|
+
**/__pycache__/**
|
|
58
|
+
**/.pytest_cache/**
|
|
59
|
+
**/.venv/**
|
|
60
|
+
**/venv/**
|
|
61
|
+
|
|
62
|
+
# Git
|
|
63
|
+
**/.git/**
|
|
64
|
+
|
|
65
|
+
# Config files
|
|
66
|
+
**/*.config.js
|
|
67
|
+
**/*.config.ts
|
|
68
|
+
**/jest.config.*
|
|
69
|
+
**/wdio.config.*
|
|
70
|
+
**/playwright.config.*
|
|
71
|
+
**/cypress.config.*
|
package/dist/config/constants.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.SOURCE_EXTENSIONS = exports.IGNORE_PATTERNS = void 0;
|
|
3
|
+
exports.SOURCE_EXTENSIONS = exports.CONFIG_FILE_PATTERNS = exports.IGNORE_PATTERNS = void 0;
|
|
4
4
|
/**
|
|
5
5
|
* Common patterns to ignore in all checks
|
|
6
6
|
*/
|
|
@@ -53,6 +53,14 @@ exports.IGNORE_PATTERNS = [
|
|
|
53
53
|
'**/lint-report/**',
|
|
54
54
|
'**/audit-report/**',
|
|
55
55
|
];
|
|
56
|
+
exports.CONFIG_FILE_PATTERNS = [
|
|
57
|
+
'**/*.config.js',
|
|
58
|
+
'**/*.config.ts',
|
|
59
|
+
'**/jest.config.*',
|
|
60
|
+
'**/wdio.config.*',
|
|
61
|
+
'**/playwright.config.*',
|
|
62
|
+
'**/cypress.config.*',
|
|
63
|
+
];
|
|
56
64
|
/**
|
|
57
65
|
* File extensions to check
|
|
58
66
|
*/
|
package/eslint.config.mjs
CHANGED
|
@@ -1,14 +1,26 @@
|
|
|
1
1
|
import tsPlugin from '@typescript-eslint/eslint-plugin';
|
|
2
2
|
import tsParser from '@typescript-eslint/parser';
|
|
3
3
|
import prettierPlugin from 'eslint-plugin-prettier';
|
|
4
|
-
|
|
5
|
-
import { IGNORE_PATTERNS, SOURCE_EXTENSIONS } from './src/config/constants.js';
|
|
4
|
+
/Users/mavox / Projects / todo - app - automation / node_modules / pr - checkmate / dist / config / constants.js
|
|
6
5
|
|
|
7
6
|
export default [
|
|
8
7
|
{
|
|
9
|
-
files:
|
|
8
|
+
files: ['**/*.ts', '**/*.tsx', '**/*.js', '**/*.jsx'],
|
|
10
9
|
|
|
11
|
-
ignores:
|
|
10
|
+
ignores: [
|
|
11
|
+
'**/node_modules/**',
|
|
12
|
+
'**/dist/**',
|
|
13
|
+
'**/build/**',
|
|
14
|
+
'**/.git/**',
|
|
15
|
+
'**/coverage/**',
|
|
16
|
+
'**/allure-report/**',
|
|
17
|
+
'**/allure-results/**',
|
|
18
|
+
'**/reports/**',
|
|
19
|
+
'**/test-reports/**',
|
|
20
|
+
'**/playwright-report/**',
|
|
21
|
+
'**/*.config.js',
|
|
22
|
+
'**/*.config.ts',
|
|
23
|
+
],
|
|
12
24
|
|
|
13
25
|
languageOptions: {
|
|
14
26
|
parser: tsParser,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pr-checkmate",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.23",
|
|
4
4
|
"description": "Automated PR quality checks: linting, formatting, dependency analysis, and spellcheck",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"github-actions",
|
|
@@ -22,6 +22,7 @@
|
|
|
22
22
|
"scripts/copy-configs.js",
|
|
23
23
|
"eslint.config.mjs",
|
|
24
24
|
".prettierrc",
|
|
25
|
+
".eslintignore",
|
|
25
26
|
"cspell.json",
|
|
26
27
|
"tsconfig.json",
|
|
27
28
|
"LICENSE"
|