Skip to content

Instantly share code, notes, and snippets.

@bymathias
Created December 28, 2019 03:26
Show Gist options
  • Select an option

  • Save bymathias/cefb7c4cee7ab51924b2401397e337a7 to your computer and use it in GitHub Desktop.

Select an option

Save bymathias/cefb7c4cee7ab51924b2401397e337a7 to your computer and use it in GitHub Desktop.
module.exports = {
parserOptions: {
parser: 'babel-eslint',
sourceType: 'module',
ecmaVersion: 2020,
allowImportExportEverywhere: true
},
extends: [
'standard',
'plugin:node/recommended',
'plugin:vue/recommended',
'plugin:vue-i18n/recommended'
],
plugins: [
'eslint-plugin-standard',
'eslint-plugin-import',
'eslint-plugin-node',
'eslint-plugin-promise',
'eslint-plugin-vue',
'eslint-plugin-vue-i18n'
],
env: {
browser: true,
node: true,
commonjs: true,
es6: true
},
settings: {
'vue-i18n': {
localeDir: './client/src/locales/*.json'
}
},
rules: {
'node/no-unsupported-features/es-syntax': ['off']
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment