@sincronia/eslint-plugin
v0.4.2-alpha.3
Published
ESLint plugin for Sincronia
Keywords
Readme
@sincronia/eslint-plugin
Overview
This plugin allows you to run the ESLint checker on files.
Installation
npm i -D @sincronia/eslint-pluginOrder of Configurations
- Load from
sinc.config.jsoptions. - Check for
.eslintrcfile or generate one.
Example Usage
This example takes .ts files and runs eslint on them. The output with errors and warnings
is printed on the console. If there are any errors the code is not pushed.
//sinc.config.js
module.exports={
rules:{
match:/\.ts$/,
plugins:[
name:"@sincronia/eslint-plugin",
]
}
}; 