aboutsummaryrefslogtreecommitdiff
path: root/.eslintrc.json
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2021-07-25 20:54:38 +0200
committerHampusM <hampus@hampusmat.com>2021-07-25 20:54:38 +0200
commite8392e65591b99f52c89cbec4554c87b19bde335 (patch)
tree18d5d7cddcd7f81e821dd2c5f6b3e0182b0153a9 /.eslintrc.json
parenta32365a7fea97fbf2a7b906ea77415ab744e7b43 (diff)
Organized Eslint stuff
Diffstat (limited to '.eslintrc.json')
-rw-r--r--.eslintrc.json175
1 files changed, 0 insertions, 175 deletions
diff --git a/.eslintrc.json b/.eslintrc.json
deleted file mode 100644
index ce3a490..0000000
--- a/.eslintrc.json
+++ /dev/null
@@ -1,175 +0,0 @@
-{
- "root": true,
- "env": {
- "commonjs": true,
- "es2021": true,
- "node": true
- },
- "extends": [
- "standard",
- "plugin:@typescript-eslint/recommended",
- "plugin:vue/vue3-strongly-recommended",
- "@vue/standard",
- "@vue/typescript"
- ],
- "parser": "@typescript-eslint/parser",
- "parserOptions": {
- "ecmaVersion": 12
- },
- "plugins": [ "@typescript-eslint" ],
- "ignorePatterns": [
- "/node_modules"
- ],
- "rules": {
- "no-console": "off",
- "no-debugger": "off",
- "array-bracket-spacing": [
- "error",
- "always"
- ],
- "array-bracket-newline": [ "warn", "consistent" ],
- "array-element-newline": "off",
- "arrow-body-style": "off",
- "arrow-parens": [
- "error",
- "as-needed"
- ],
- "arrow-spacing": [
- "error",
- {
- "after": true,
- "before": true
- }
- ],
- "brace-style": [ "error", "stroustrup", { "allowSingleLine": false } ],
- "camelcase": "off",
- "capitalized-comments": [
- "error",
- "always"
- ],
- "comma-spacing": [
- "error",
- {
- "after": true,
- "before": false
- }
- ],
- "comma-style": [
- "error",
- "last"
- ],
- "comma-dangle": [ "error", "never" ],
- "computed-property-spacing": [
- "error",
- "never"
- ],
- "curly": [ "error", "all" ],
- "dot-notation": "off",
- "eol-last": [
- "error",
- "never"
- ],
- "eqeqeq": "error",
- "func-names": "off",
- "func-style": [ "error", "declaration" ],
- "id-length": "off",
- "implicit-arrow-linebreak": [
- "error",
- "beside"
- ],
- "indent": [ "warn", "tab" ],
- "keyword-spacing": [ "error", {
- "before": false,
- "overrides": {
- "from": { "before": true },
- "for": { "after": false },
- "if": { "after": false },
- "throw": { "after": false },
- "while": { "after": false }
- }
- } ],
- "linebreak-style": [
- "error",
- "unix"
- ],
- "line-comment-position": ["error", { "position": "above" }],
- "max-len": "off",
- "max-lines": [ "error", 600 ],
- "max-params": [ "error", 6 ],
- "max-statements": "off",
- "multiline-comment-style": [ "error", "bare-block" ],
- "no-await-in-loop": "off",
- "no-control-regex": "off",
- "no-else-return": [
- "error",
- {
- "allowElseIf": true
- }
- ],
- "no-extra-parens": "off",
- "no-magic-numbers": "off",
- "no-tabs": "off",
- "no-ternary": "off",
- "no-underscore-dangle": [ "error", { "allowAfterThis": true } ],
- "no-var": "error",
- "object-curly-spacing": [
- "error",
- "always"
- ],
- "object-shorthand": "off",
- "one-var": "off",
- "padded-blocks": "off",
- "prefer-arrow-callback": "off",
- "prefer-const": "off",
- "prefer-destructuring": "off",
- "prefer-template": "off",
- "quote-props": [ "error", "as-needed" ],
- "quotes": [ "error", "double" ],
- "semi": [ "error", "always" ],
- "semi-style": [
- "error",
- "last"
- ],
- "sort-keys": "off",
- "space-before-function-paren": [ "error", "never" ],
- "space-in-parens": [
- "error",
- "never"
- ],
- "spaced-comment": [
- "error",
- "always"
- ],
- "strict": [
- "error",
- "never"
- ],
- "template-curly-spacing": [
- "error",
- "never"
- ],
- "unicode-bom": [
- "error",
- "never"
- ],
- "yoda": [
- "error",
- "never"
- ],
- "vue/max-attributes-per-line": [ "warn", {
- "singleline": {
- "max": 2,
- "allowFirstLine": true
- },
- "multiline": {
- "max": 2,
- "allowFirstLine": false
- }
- } ],
- "vue/html-closing-bracket-newline": [ "error", {
- "singleline": "never",
- "multiline": "never"
- } ],
- "vue/html-indent": [ "error", "tab" ]
- }
-} \ No newline at end of file