From 554eae8faf712ad52aa435077ddc7a9516d54b93 Mon Sep 17 00:00:00 2001 From: carlosjr Date: Mon, 14 Mar 2022 10:34:14 +0100 Subject: [PATCH] eslint rules update --- .eslintrc.js | 7 +++---- .prettierrc | 4 ++-- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/.eslintrc.js b/.eslintrc.js index f51cd2502..9634d2b9f 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -27,7 +27,7 @@ module.exports = { // Rules order is important, please avoid shuffling them extends: [ // Base ESLint recommended rules - // 'eslint:recommended', + 'eslint:recommended', // https://github.com/typescript-eslint/typescript-eslint/tree/master/packages/eslint-plugin#usage // ESLint typescript rules @@ -38,8 +38,8 @@ module.exports = { // Uncomment any of the lines below to choose desired strictness, // but leave only one uncommented! // See https://eslint.vuejs.org/rules/#available-rules - 'plugin:vue/vue3-essential', // Priority A: Essential (Error Prevention) - // 'plugin:vue/vue3-strongly-recommended', // Priority B: Strongly Recommended (Improving Readability) + // 'plugin:vue/vue3-essential', // Priority A: Essential (Error Prevention) + 'plugin:vue/vue3-strongly-recommended', // Priority B: Strongly Recommended (Improving Readability) // 'plugin:vue/vue3-recommended', // Priority C: Recommended (Minimizing Arbitrary Choices and Cognitive Overhead) // https://github.com/prettier/eslint-config-prettier#installation @@ -82,7 +82,6 @@ module.exports = { '@typescript-eslint/explicit-function-return-type': 'off', "@typescript-eslint/unbound-method": "off", - '@typescript-eslint/no-unsafe-assignment': 'off', '@typescript-eslint/no-unsafe-member-access': 'off', '@typescript-eslint/no-floating-promises': 'off', diff --git a/.prettierrc b/.prettierrc index d6a40ac6b..c30ce7b7d 100644 --- a/.prettierrc +++ b/.prettierrc @@ -3,5 +3,5 @@ "printWidth": 120, "tabWidth": 4, "semi": true, - "endOfLine": 'auto', -} + "endOfLine": "auto" +} \ No newline at end of file