@syncrona/eslint-plugin
Overview
This plugin allows you to run the ESLint checker on files.
Installation
npm i -D @syncrona/eslint-plugin
Order of Configurations
- Load from
sync.config.js options.
- Fall back to the project's flat ESLint config (
eslint.config.js / eslint.config.mjs), which ESLint resolves from the linted file's directory upward.
Example Usage
This example takes .ts files and runs eslint on them. If there are any errors the code
is not pushed and the lint report is included in the build error; nothing is printed to
stdout, which keeps MCP stdio transports clean.
module.exports={
rules:{
match:/\.ts$/,
plugins:[
name:"@syncrona/eslint-plugin",
]
}
};