| 12345678910111213141516171819202122232425262728293031323334353637383940 |
- module.exports = {
- root: true,
- env: {
- node: true
- },
- globals: {
- __static: true,
- EXIF: true,
- AMap: true,
- tracking:true,
- pinyinUtil:true,
- faceapi:true
- },
- 'extends': [
- 'plugin:vue/strongly-recommended',
- '@vue/standard'
- ],
- 'rules': {
- // allow async-await
- 'generator-star-spacing': 'off',
- // allow debugger during development
- 'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off',
- 'vue/html-self-closing': ['error', {
- 'html': {
- 'void': 'never',
- 'normal': 'any',
- 'component': 'any'
- },
- 'svg': 'always',
- 'math': 'always'
- }],
- 'vue/name-property-casing':'off',
- 'vue/html-closing-bracket-newline': 'off',
- 'vue/component-name-in-template-casing': 'off',
- 'camelcase':'off'
- },
- parserOptions: {
- parser: 'babel-eslint'
- }
- }
|