npm.io
1.0.2 • Published 9 years ago

mya-lint-eslint

Licence
ISC
Version
1.0.2
Deps
4
Vulns
0
Weekly
0

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, // 自动修复
})

Keywords