@sincronia/eslint-plugin
v0.4.2-alpha.3
Published
ESLint plugin for Sincronia
Downloads
3
Keywords
Readme
@sincronia/eslint-plugin
Overview
This plugin allows you to run the ESLint checker on files.
Installation
npm i -D @sincronia/eslint-plugin
Order of Configurations
- Load from
sinc.config.js
options. - Check for
.eslintrc
file 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",
]
}
};