src_js/iconolab-bundle/.eslintrc.js
author ymh <ymh.work@gmail.com>
Wed, 31 Aug 2016 17:37:28 +0200
changeset 159 a2e6d314da2f
parent 146 f912b591e1c1
permissions -rw-r--r--
add sync scripts

module.exports = {
  root: true,
  parserOptions: {
    sourceType: 'module'
  },
  // https://github.com/feross/standard/blob/master/RULES.md#javascript-standard-style
  extends: 'standard',
  // required to lint *.vue files
  plugins: [
    'html'
  ],
  // add your custom rules here
  'rules': {
    // allow paren-less arrow functions
    'arrow-parens': 0,
    // no-multiple-empty-lines
    'no-multiple-empty-lines': 0,
    'semi': 1,
    // allow debugger during development
    'no-debugger': process.env.NODE_ENV === 'production' ? 2 : 0

  }
}