mirror of
				https://github.com/lingble/chatwoot.git
				synced 2025-10-29 18:22:53 +00:00 
			
		
		
		
	 01b72ca051
			
		
	
	01b72ca051
	
	
	
		
			
			* 🎉 initial testing with jest * 👌 update test script names & remove package-lock.json * 👌 add 'yarn test' step to circle-ci build workflow
		
			
				
	
	
		
			50 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			50 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
| module.exports = {
 | |
|   extends: ['airbnb/base', 'prettier', 'plugin:vue/recommended'],
 | |
|   parserOptions: {
 | |
|     parser: 'babel-eslint',
 | |
|     ecmaVersion: 2017,
 | |
|     sourceType: 'module',
 | |
|   },
 | |
|   plugins: ['html', 'prettier', 'babel'],
 | |
|   rules: {
 | |
|     'prettier/prettier': ['error'],
 | |
|     camelcase: 'off',
 | |
|     'import/no-extraneous-dependencies': 'off',
 | |
|     'import/prefer-default-export': 'off',
 | |
|     'import/no-named-as-default': 'off',
 | |
|     'jsx-a11y/no-static-element-interactions': 'off',
 | |
|     'jsx-a11y/click-events-have-key-events': 'off',
 | |
|     'jsx-a11y/label-has-associated-control': 'off',
 | |
|     'jsx-a11y/label-has-for': 'off',
 | |
|     'jsx-a11y/anchor-is-valid': 'off',
 | |
|     'import/no-unresolved': 'off',
 | |
|     'vue/max-attributes-per-line': ['error', {
 | |
|       'singleline': 3,
 | |
|       'multiline': {
 | |
|         'max': 1,
 | |
|         'allowFirstLine': false
 | |
|       }
 | |
|     }],
 | |
|     'vue/html-self-closing': 'off',
 | |
|     "vue/no-v-html": 'off'
 | |
|   },
 | |
|   settings: {
 | |
|     'import/resolver': {
 | |
|       webpack: {
 | |
|         config: 'config/webpack/resolve.js',
 | |
|       },
 | |
|     },
 | |
|   },
 | |
|   env: {
 | |
|     browser: true,
 | |
|     node: true,
 | |
|     jest: true,
 | |
|     jasmine: true
 | |
|   },
 | |
|   globals: {
 | |
|     __WEBPACK_ENV__: true,
 | |
|     __PUSHER__: true,
 | |
|     __FB_APP_ID__: true,
 | |
|   },
 | |
| };
 |