github.com/titpetric/pendulum@v0.1.180207-1512.0.20180514135826-1f399445df57/front/src/.eslintrc.js (about)

     1  // http://eslint.org/docs/user-guide/configuring
     2  
     3  module.exports = {
     4    root: true,
     5    parser: 'babel-eslint',
     6    parserOptions: {
     7      sourceType: 'module'
     8    },
     9    env: {
    10      browser: true,
    11    },
    12    // https://github.com/feross/standard/blob/master/RULES.md#javascript-standard-style
    13    extends: 'standard',
    14    // required to lint *.vue files
    15    plugins: [
    16      'html'
    17    ],
    18    // add your custom rules here
    19    'rules': {
    20      // allow paren-less arrow functions
    21      'arrow-parens': 0,
    22      // allow async-await
    23      'generator-star-spacing': 0,
    24      // allow debugger during development
    25      'no-debugger': process.env.NODE_ENV === 'production' ? 2 : 0
    26    }
    27  }