// http://eslint.org/docs/user-guide/configuring

module.exports = {
	root: true,
	parser: 'babel-eslint',
	parserOptions: {
		sourceType: 'module',
	},
	env: {
		browser: true,
	},
	extends: ['airbnb-base', 'prettier'],
	plugins: ['html', 'import', 'prettier'],
	settings: {
		'import/resolver': {
			webpack: {
				config: 'build/webpack.base.conf.js',
			},
		},
	},
	rules: {
		// don't require .vue extension when importing
		'import/extensions': [
			'error',
			'always',
			{
				js: 'never',
				vue: 'never',
				ts: 'never',
			},
		],
		// allow debugger during development
		'no-debugger': process.env.NODE_ENV === 'production' ? 2 : 0,
		'no-console': process.env.NODE_ENV === 'production' ? 1 : 0,
		'no-tabs': 0,
		'max-len': ['error', 120],
		'no-param-reassign': 0,
		'prettier/prettier': [
			'error',
			{ singleQuote: true, trailingComma: 'all', printWidth: 100, tabWidth: 2 },
		],
	},
};

@@ -710,24 +710,8 @@
  0,%0A
-%09%09'no-tabs': 0,%0A
 %09%09'm
@@ -730,17 +730,17 @@
 rror', 1
-2
+0
 0%5D,%0A%09%09'n
@@ -761,16 +761,87 @@
 gn': 0,%0A
+    // only for use with getter-setters%0A    'no-underscore-dangle': 0,%0A
 %09%09'prett

update eslint rules to match codestyle