mcp-server-semgrep
Version:
MCP Server for Semgrep Integration - static code analysis with AI
18 lines (17 loc) • 429 B
YAML
rules:
- id: moment-deprecated
pattern: |
import 'moment'
message: Moment is a legacy project in maintenance mode. Consider using libraries that are actively supported, e.g. `dayjs`.
languages:
- typescript
- javascript
severity: INFO
metadata:
category: best-practice
technology:
- moment
- dayjs
references:
- 'https://momentjs.com/docs/#/-project-status/'
- 'https://day.js.org/'