Skip to content

Instantly share code, notes, and snippets.

@holykol
Created March 16, 2018 17:58
Show Gist options
  • Save holykol/845adafb8b01f84b5d31c9a6bc5ab3af to your computer and use it in GitHub Desktop.
Save holykol/845adafb8b01f84b5d31c9a6bc5ab3af to your computer and use it in GitHub Desktop.
module.exports = {
root: true,
extends: [
"eslint:recommended",
"plugin:vue/recommended"
],
plugins: [
'vue'
],
env: {
"browser": true,
"es6": true,
"node": true,
"mocha": true
},
rules: {
"vue/attributes-order": ["off", "always"],
"comma-dangle": ["warn", "never"],
"indent": ["warn", 4],
"quotes": ["warn", "single"],
"semi": ["warn", "never"],
"no-console": ["error", { "allow": ["log"] }],
"no-multiple-empty-lines": ["error", {
"max": 2,
"maxEOF": 1
}],
"no-unused-vars": ["warn", {"args": "none"}],
"no-constant-condition": "warn",
"comma-dangle": [
"warn", "always-multiline",
],
"space-before-function-paren": ["warn", "always"],
},
globals: {}
};
{
"name": "music",
"scripts": {
"dev": "docker-compose --file run.development.yml up --build",
"start": "docker-compose --file run.production.yml up --build",
"lint": "eslint --ext .js,.vue --ignore-path .gitignore .",
"lintfix": "eslint ./ --fix --ext .js,.vue"
},
"devDependencies": {
"eslint": "^4.18.2",
"eslint-config-standard": "^11.0.0",
"eslint-plugin-vue": "^4.3.0",
"lerna": "^2.5.1",
"eslint": "^4.18.2",
"eslint-config-prettier": "^2.9.0",
"eslint-config-standard": "^10.2.1",
"eslint-loader": "^2.0.0",
"eslint-plugin-html": "^2.0.3",
"eslint-plugin-import": "^2.2.0",
"eslint-plugin-node": "^4.2.2",
"eslint-plugin-prettier": "^2.6.0",
"eslint-plugin-promise": "^3.4.0",
"eslint-plugin-standard": "^3.0.1",
"eslint-plugin-vue": "^4.3.0"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment