fis3-lint-eslint-noisy-xin

1.0.7 • Public • Published

fis3-lint-eslint-noisy-xin

a js linter plugin of fis3 based on eslint

npm npm npm

about package name

i named this package noisy is because the other eslint plugins for fis all silently failed when error report by eslint.

usage

$ npm i -g fis3-lint-eslint-noisy-xin
// fis-conf.js

var eslintConf = {
        configFile: '.eslintrc.json',
        startDate: '2018/08/01',
        fix: true
      }; 

fis.match('*.js', {
  lint: fis.plugin('eslint-noisy-xin', eslintConf)
});

options

options: [http://eslint.org/docs/developer-guide/nodejs-api#cliengine]

rules and fixable rules: [http://eslint.org/docs/rules/]

var eslintConf = {
  configFile:
  envs: // default: ['browser']
  extensions: 
  globals: 
  fix: , // ❗!!! important !!!❗
         // default:false,
         // be careful, this might change your source code
         // this will trigger `CLIEngine.outputFixes` automatically
  ignore: 
  ignorePath: 
  ignorePattern:
  baseConfig:  
  rulePaths: 
  rules: 
  useEslintrc: // defalut: true
  parser: 
  cache: 
  cacheFile: 
  cacheLocation: 
  cwd:
}; 

links

fis3: [http://fis.baidu.com/]

eslint: [http://eslint.org/]

Package Sidebar

Install

npm i fis3-lint-eslint-noisy-xin

Weekly Downloads

1

Version

1.0.7

License

MIT

Unpacked Size

11 kB

Total Files

6

Last publish

Collaborators

  • cuidingfeng