武隆区智慧救助终端
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 484 B

2 maanden geleden
1 maand geleden
2 maanden geleden
1 maand geleden
2 maanden geleden
123456789101112131415161718192021
  1. module.exports = {
  2. root: true,
  3. env: {
  4. node: true
  5. },
  6. extends: [
  7. 'plugin:vue/vue3-essential',
  8. '@vue/standard',
  9. '@vue/typescript/recommended'
  10. ],
  11. parserOptions: {
  12. ecmaVersion: 2020
  13. },
  14. rules: {
  15. // 'no-console': 'off',
  16. // 'some-other-rule': 'off'
  17. 'no-console': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
  18. 'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
  19. 'vue/multi-word-component-names': 'off'
  20. }
  21. }