module.exports = {
  extends: 'airbnb-base',
  env: {
    node: true,
    browser: true,
    jquery: true,
  },
  rules: {
    'arrow-parens': 0,
    'object-shorthand': ['error', 'always', {
      avoidQuotes: true,
      avoidExplicitReturnArrows: true,
    }],
    'function-paren-newline': ['error', 'consistent'],
    'max-len': ['warn', 120, 2, {
      ignoreUrls: true,
      ignoreComments: false,
      ignoreRegExpLiterals: true,
      ignoreStrings: true,
      ignoreTemplateLiterals: true,
    }],
  },
};
