Skip to content

advence-liz/reactjs

Repository files navigation

react

eslint 配置继承父目录

module.exports = {
  env: {
    es6: true,
    node: true
  },
  parser: 'babel-eslint',
  extends: ['standard', 'plugin:react/recommended'],
  parserOptions: {
    ecmaFeatures: {
      jsx: true
    }
  },
  plugins: ['react'],
  rules: {
    'no-console': 'off',
    // 'react/jsx-uses-vars': 2
  }
}

About

记录 整理 React 相关内容

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published