File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change 1
1
import $ from 'jquery' ;
2
- import { debugBreak } from './utils/debug-helpers.js' ;
3
2
4
3
function initialize ( ) {
5
4
var codeBlockSelector = '.article--content pre' ;
Original file line number Diff line number Diff line change 5
5
pre-commit :
6
6
parallel : true
7
7
commands :
8
+ eslint-debug-check :
9
+ glob : " assets/js/*.js"
10
+ run : yarn eslint {staged_files}
11
+ fail_text : " Debug helpers found! Remove debug imports and calls before committing."
8
12
build-copilot-instructions :
9
13
glob : " CONTRIBUTING.md"
10
14
run : yarn build:copilot-instructions
@@ -58,6 +62,10 @@ pre-commit:
58
62
{ echo "⚠️ Prettier found formatting issues. Automatic formatting applied."
59
63
git add {staged_files}
60
64
}
65
+ lint-js :
66
+ glob : " assets/js/*.{js,ts}"
67
+ run : yarn eslint {staged_files}
68
+ fail_text : " JavaScript linting failed. Fix errors before committing."
61
69
pre-push :
62
70
commands :
63
71
packages-audit :
You can’t perform that action at this time.
0 commit comments