aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2021-06-09 20:26:06 +0200
committerHampusM <hampus@hampusmat.com>2021-06-09 20:26:06 +0200
commitdf09cdac2e9962c899084b74fc29aea0bbd29e96 (patch)
treeebaba9d87a21b6724a53758baf9e2e5f50dac7e2
parent3031b980fe1efacc674949873a1521b4b22e46b6 (diff)
Changed all single quotes to double quotes in the client eslintrc
-rw-r--r--packages/client/.eslintrc.js64
1 files changed, 33 insertions, 31 deletions
diff --git a/packages/client/.eslintrc.js b/packages/client/.eslintrc.js
index 086c9df..7479e5f 100644
--- a/packages/client/.eslintrc.js
+++ b/packages/client/.eslintrc.js
@@ -4,37 +4,39 @@ module.exports = {
node: true
},
extends: [
- 'plugin:vue/vue3-strongly-recommended',
- '@vue/standard'
+ "plugin:vue/vue3-strongly-recommended",
+ "@vue/standard"
],
parserOptions: {
- parser: 'babel-eslint'
+ parser: "babel-eslint"
},
+ ignorePatterns: [ "src/util/*" ],
rules: {
- 'no-console': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
- 'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
- curly: 'warn',
- 'array-bracket-newline': [ 'warn', 'consistent' ],
- 'array-bracket-spacing': [ 'warn', 'always' ],
- 'capitalized-comments': [ 'warn', 'always' ],
- 'implicit-arrow-linebreak': [ 'warn', 'beside' ],
- indent: [ 'warn', 'tab' ],
- 'linebreak-style': [ 'warn', 'unix' ],
- 'comma-dangle': [ 'error', 'never' ],
- semi: [ 'error', 'always' ],
- 'no-var': 'error',
- 'no-tabs': [ 'error', { allowIndentationTabs: true } ],
- 'quotes': ['error', 'double'],
- 'quote-props': ["error", "as-needed"],
- 'space-before-function-paren': ["error", "never"],
- 'camelcase': "off",
- 'no-tabs': "off",
- 'keyword-spacing': ["error", { "overrides": {
- "if": { "after": false },
- "for": { "after": false },
- "while": { "after": false }
- } }],
- 'vue/max-attributes-per-line': [ 'warn', {
+ "no-console": process.env.NODE_ENV === "production" ? "warn" : "off",
+ "no-debugger": process.env.NODE_ENV === "production" ? "warn" : "off",
+ curly: "warn",
+ "array-bracket-newline": [ "warn", "consistent" ],
+ "array-bracket-spacing": [ "warn", "always" ],
+ "capitalized-comments": [ "warn", "always" ],
+ "implicit-arrow-linebreak": [ "warn", "beside" ],
+ indent: [ "warn", "tab" ],
+ "linebreak-style": [ "warn", "unix" ],
+ "comma-dangle": [ "error", "never" ],
+ semi: [ "error", "always" ],
+ "no-var": "error",
+ quotes: [ "error", "double" ],
+ "quote-props": [ "error", "as-needed" ],
+ "space-before-function-paren": [ "error", "never" ],
+ camelcase: "off",
+ "no-tabs": "off",
+ "keyword-spacing": [ "error", {
+ overrides: {
+ if: { after: false },
+ for: { after: false },
+ while: { after: false }
+ }
+ } ],
+ "vue/max-attributes-per-line": [ "warn", {
singleline: {
max: 2,
allowFirstLine: true
@@ -44,10 +46,10 @@ module.exports = {
allowFirstLine: false
}
} ],
- 'vue/html-closing-bracket-newline': [ 'error', {
- singleline: 'never',
- multiline: 'never'
+ "vue/html-closing-bracket-newline": [ "error", {
+ singleline: "never",
+ multiline: "never"
} ],
- 'vue/html-indent': [ 'error', 'tab' ],
+ "vue/html-indent": [ "error", "tab" ]
}
};