{"library":"eslint-plugin-ast-grep","type":"library","category":null,"description":"ESLint plugin leveraging ast-grep for pattern-based syntax restriction. Current stable version: 1.0.0. Released under MIT license. Key differentiator: uses ast-grep's powerful pattern matching instead of ESLint's built-in AST selectors, enabling more flexible and concise rule definitions. Requires ESLint >=9.0.0 and @ast-grep/napi >=0.30.0. Provides a single rule `no-restricted-syntax` that accepts string patterns or objects with custom messages. Adheres to ESLint's flat config and is ESM-only.","language":"javascript","status":"active","version":"1.0.0","tags":["javascript","eslint","eslint-plugin","ast-grep"],"last_verified":"Wed May 27","install":[{"cmd":"npm install eslint-plugin-ast-grep","imports":["import plugin from 'eslint-plugin-ast-grep'","import { rules } from 'eslint-plugin-ast-grep'; rules['no-restricted-syntax']"]},{"cmd":"yarn add eslint-plugin-ast-grep","imports":[]},{"cmd":"pnpm add eslint-plugin-ast-grep","imports":[]}],"homepage":"https://ast-grep.github.io","github":null,"docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/eslint-plugin-ast-grep","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/eslint-plugin-ast-grep/compatibility"}}