健康同学微信公众号h5项目
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

.eslintrc.js 525B

11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
1234567891011121314151617
  1. module.exports = {
  2. root: true,
  3. env: {
  4. node: true
  5. },
  6. extends: ['plugin:vue/essential', 'eslint:recommended', 'plugin:prettier/recommended'],
  7. parserOptions: {
  8. parser: '@babel/eslint-parser'
  9. },
  10. rules: {
  11. 'no-console': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
  12. 'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
  13. 'vue/multi-word-component-names': 'off', // 关闭名称校验,
  14. semi: [0], //分号检验,默认不检验
  15. 'prettier/prettier': 'off'
  16. }
  17. };