Skip to content

Instantly share code, notes, and snippets.

@AlanJenkinsVS
Created August 4, 2020 14:35
Show Gist options
  • Save AlanJenkinsVS/1a41a5ec71aa8c931129d45d29d09989 to your computer and use it in GitHub Desktop.
Save AlanJenkinsVS/1a41a5ec71aa8c931129d45d29d09989 to your computer and use it in GitHub Desktop.
const OFF = 0;
const WARN = 1;
const ERROR = 2;
module.exports = {
root: true,
env: {
browser :true,
es6: true
},
parserOptions: {
parser: 'babel-eslint',
ecmaVersion: 2018,
ecmaFeatures: {
modules: true,
impliedStrict: true
},
sourceType: 'module'
},
// https://eslint.vuejs.org/user-guide/
extends: [
'standard',
'plugin:vue/recommended'
],
// Allow some window methods and third-party libraries
globals: {
"$": true
},
// required to lint *.vue files
plugins: [
'vue'
],
// new section below
rules: {
semi: false
}
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment