lib/potassium/assets/.eslintrc.json in potassium-6.7.0 vs lib/potassium/assets/.eslintrc.json in potassium-7.0.0

- old
+ new

@@ -207,11 +207,11 @@ "import/order": [0, { "groups": ["builtin", "external", "internal", "parent", "sibling", "index"], "newlines-between": "never" }], "import/newline-after-import": 2, - "import/prefer-default-export": 2, + "import/no-default-export": 2, "array-bracket-spacing": [2, "never"], "block-spacing": [2, "always"], "brace-style": [2, "1tbs", { "allowSingleLine": true }], @@ -253,11 +253,11 @@ }], "linebreak-style": [2, "unix"], "lines-around-comment": 0, "max-depth": [2, 4], "max-len": [2, 120, { - "ignorePattern": "^\\s.+class=\"" + "ignorePattern": "^\\s.+class=|\\s.d=\"" }], "max-nested-callbacks": [2, 4], "max-params": [1, 4], "max-statements": [1, 10], "max-statements-per-line": [2, { @@ -285,11 +285,11 @@ "no-negated-condition": 2, "no-nested-ternary": 2, "no-new-object": 2, "no-plusplus": 0, "no-restricted-syntax": [2, "DebuggerStatement", "ForInStatement", "LabeledStatement", "WithStatement"], - "no-spaced-func": 2, + "no-spaced-func": 0, "no-ternary": 0, "no-trailing-spaces": 2, "no-underscore-dangle": [1], "no-unneeded-ternary": [2, { "defaultAssignment": false @@ -344,16 +344,22 @@ }], "no-use-before-define": 2, "vue/max-len": ["error", { "code": 120, "ignoreHTMLAttributeValues": true + }], + "tailwindcss/no-custom-classname": ["warn", { + "cssFiles": ["**/*.css", "!**/node_modules", "!**/.*", "!**/dist", "!**/build", "!**/vendor"] }] }, "overrides": [ { - "files": ["*.ts", "*.vue"], - "rules": { - "no-undef": "off" - } + "files": ["*.ts", "*.vue"], + "rules": { + "no-undef": "off", + "no-unused-vars": "off", + "no-spaced-func": "off", + "@typescript-eslint/no-unused-vars": "error" + } } ] }