module.exports = {
  root: true,
  env: {
    es6: true,
    browser: true,
    node: true,
  },
  parser: '@babel/eslint-parser',
  parserOptions: {
    ecmaVersion: 2018,
    sourceType: 'module',
    ecmaFeatures: {
      arrowFunctions: true,
      destructuring: true,
      classes: true,
    },
    requireConfigFile: false,
  },
  globals: {
    wx: true,
    App: true,
    Page: true,
    getCurrentPage: true,
    getApp: true,
    Component: true,
    requirePlugin: true,
    requireMiniProgram: true,
  },
  rules: {},
}