1.0.7 • Published 6 years ago

fis3-lint-eslint-noisy-xin v1.0.7

Weekly downloads
1
License
MIT
Repository
-
Last release
6 years ago

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/

1.0.7

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago