Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "extends": [
- "eslint:recommended",
- "plugin:vue/recommended"
- ],
- "env": {
- "amd": true,
- "browser": true,
- "es6": true,
- "jquery": true,
- "node": true
- },
- "parser": "vue-eslint-parser",
- "parserOptions": {
- "parser": "babel-eslint",
- "sourceType": "module",
- "allowImportExportEverywhere": true
- },
- "globals": {
- "dashboard": "writable",
- "_": "readonly"
- },
- "rules": {
- "linebreak-style": ["error", "unix"],
- "semi": ["error", "always"],
- "radix": ["error", "always"],
- "yoda": ["error"],
- "no-shadow": ["error"],
- "no-use-before-define": ["error"],
- "no-cond-assign": ["error", "always"],
- "no-eval": ["error"],
- "no-eq-null": ["error"],
- "no-else-return": ["error"],
- "no-empty-function": ["error"],
- "no-extend-native": ["error"],
- "no-implicit-coercion": ["error"],
- "no-implicit-globals": ["error"],
- "no-implied-eval": ["error"],
- "no-invalid-this": ["warn"],
- "no-lone-blocks": ["error"],
- "no-loop-func": ["error"],
- "no-return-assign": ["error"],
- "no-script-url": ["error"],
- "no-self-compare": ["error"],
- "no-sequences": ["error"],
- "no-unmodified-loop-condition": ["error"],
- "no-unused-expressions": ["error"],
- "no-useless-return": ["error"],
- "no-multi-spaces": ["error"],
- "no-with": ["error"],
- "no-warning-comments": ["off"],
- "no-param-reassign": ["warn"],
- "no-debugger": ["warn"],
- "no-alert": ["warn"],
- "no-console": "off",
- "array-bracket-spacing": ["error", "never"],
- "comma-dangle": ["error", "never"],
- "block-spacing": ["error", "never"],
- "brace-style": ["error", "stroustrup"],
- "camelcase": "off",
- "comma-spacing": ["error"],
- "comma-style": "error",
- "computed-property-spacing": ["error", "never"],
- "eol-last": ["error", "always"],
- "func-call-spacing": ["error", "never"],
- "function-paren-newline": ["error", "never"],
- "key-spacing": "error",
- "no-lonely-if": "error",
- "no-mixed-operators": "error",
- "no-multiple-empty-lines": "error",
- "no-nested-ternary": "error",
- "no-trailing-spaces": "error",
- "space-in-parens": ["error", "never"],
- "operator-linebreak": ["error", "before"],
- "padded-blocks": ["error", "never"],
- "vue/html-indent": ["error", "tab"],
- "vue/script-indent": [
- "error",
- "tab",
- {
- "baseIndent": 1,
- "switchCase": 1,
- "ignoreComments": true
- }
- ],
- "vue/html-self-closing": "off",
- "vue/multiline-html-element-content-newline": "off",
- "vue/require-component-is": "off",
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement