mya-lint-eslint
ESLint plugin for mya.
When there is a .eslintrc.json
or .eslintrc.js
in project root directory, it will work.
usage
fis.match('**.js', {
lint: fis.plugin('eslint')
});
config
fis.set('settings.lint.eslint', {
fix: true, // 自动修复
})