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 33 " unicorn" ,
44 " typescript" ,
55 " oxc" ,
6- " react"
6+ " react" ,
7+ " ./plugins/debugger.js"
78 ],
89 "categories" : {
910 "correctness" : " deny" ,
1011 "suspicious" : " warn" ,
1112 "perf" : " deny"
1213 },
1314 "rules" : {
14- "react/react-in-jsx-scope" : " off"
15+ "react/react-in-jsx-scope" : " off" ,
16+ "vibe/no-debugger" : " error"
1517 },
1618 "settings" : {
1719 "jsx-a11y" : {
Original file line number Diff line number Diff line change 99 "ready" : " vite run lint && vite test && vite run build" ,
1010 "dev" : " pnpm --filter dashboard dev" ,
1111 "build" : " vite run @vibe/dashboard#build" ,
12- "lint" : " vite lint --type-aware" ,
12+ "lint" : " vite lint --type-aware --js-plugins " ,
1313 "test" : " vite test" ,
1414 "fmt" : " vite fmt" ,
1515 "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