UNPKG

468 BJavaScriptView Raw
1const eslint = require('eslint')
2const path = require('path')
3const pkg = require('./package.json')
4
5module.exports = {
6 version: pkg.version,
7 homepage: pkg.homepage,
8 bugs: pkg.bugs,
9 eslint,
10 cmd: 'standard',
11 tagline: 'Use ES.Next Standard Style',
12 eslintConfig: {
13 configFile: path.join(__dirname, 'eslintrc.js')
14 },
15 cwd: '',
16
17 parser: 'babel-eslint',
18
19 parseOpts(opts) {
20 opts.ignore = opts.ignore.concat('flow-typed/**')
21 return opts
22 }
23}