File tree Expand file tree Collapse file tree 3 files changed +24
-3
lines changed Expand file tree Collapse file tree 3 files changed +24
-3
lines changed Original file line number Diff line number Diff line change 3
3
" unicorn" ,
4
4
" typescript" ,
5
5
" oxc" ,
6
- " react"
6
+ " react" ,
7
+ " ./plugins/debugger.js"
7
8
],
8
9
"categories" : {
9
10
"correctness" : " deny" ,
10
11
"suspicious" : " warn" ,
11
12
"perf" : " deny"
12
13
},
13
14
"rules" : {
14
- "react/react-in-jsx-scope" : " off"
15
+ "react/react-in-jsx-scope" : " off" ,
16
+ "vibe/no-debugger" : " error"
15
17
},
16
18
"settings" : {
17
19
"jsx-a11y" : {
Original file line number Diff line number Diff line change 9
9
"ready" : " vite run lint && vite test && vite run build" ,
10
10
"dev" : " pnpm --filter dashboard dev" ,
11
11
"build" : " vite run @vibe/dashboard#build" ,
12
- "lint" : " vite lint --type-aware" ,
12
+ "lint" : " vite lint --type-aware --js-plugins " ,
13
13
"test" : " vite test" ,
14
14
"fmt" : " vite fmt" ,
15
15
"generate" : " node tools/override-rolldown.mjs --stats"
Original file line number Diff line number Diff line change
1
+ export default {
2
+ meta : {
3
+ name : "vibe" ,
4
+ } ,
5
+ rules : {
6
+ "no-debugger" : {
7
+ create ( context ) {
8
+ return {
9
+ DebuggerStatement ( debuggerStatement ) {
10
+ context . report ( {
11
+ message : "Unexpected Debugger Statement" ,
12
+ node : debuggerStatement ,
13
+ } ) ;
14
+ } ,
15
+ } ;
16
+ } ,
17
+ } ,
18
+ } ,
19
+ } ;
You can’t perform that action at this time.
0 commit comments