VBC-009: jquery-modern-project
warningCategory: clean-code
Analysis: Regex (line by line)
File types: .js, .ts, .tsx, .jsx, .astro
Scope: source code only, ignoring anything inside strings and comments
Tags: clean-code performance
What it reports
jQuery dependency detected at line {line}. In 2026, native DOM APIs (querySelector, fetch, classList, addEventListener) are sufficient and far lighter. Dropping jQuery reduces bundle size and removes an unnecessary abstraction layer.
Flagged
js
import $ from 'jquery';js
const $ = require('jquery');Not flagged
js
import { render } from 'react-dom';Pattern
regex
(require\(['"]jquery['"]\)|from\s+['"]jquery['"])