From b1d514844e6f44f9a0c920df9b499988472e8bdb Mon Sep 17 00:00:00 2001 From: Johannes Loher Date: Sun, 7 Feb 2021 16:04:47 +0100 Subject: [PATCH] Reformat some files --- .eslintrc.js | 12 ++++++------ .prettierrc.js | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.eslintrc.js b/.eslintrc.js index 6f42ee6..4c9041c 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -1,18 +1,18 @@ module.exports = { - parser: "@typescript-eslint/parser", // Specifies the ESLint parser + parser: '@typescript-eslint/parser', // Specifies the ESLint parser parserOptions: { ecmaVersion: 2020, // Allows for the parsing of modern ECMAScript features - sourceType: "module", // Allows for the use of imports + sourceType: 'module', // Allows for the use of imports }, extends: [ - "plugin:@typescript-eslint/recommended", // Uses the recommended rules from the @typescript-eslint/eslint-plugin - "prettier/@typescript-eslint", // Uses eslint-config-prettier to disable ESLint rules from @typescript-eslint/eslint-plugin that would conflict with prettier - "plugin:prettier/recommended", // Enables eslint-plugin-prettier and eslint-config-prettier. This will display prettier errors as ESLint errors. Make sure this is always the last configuration in the extends array. + 'plugin:@typescript-eslint/recommended', // Uses the recommended rules from the @typescript-eslint/eslint-plugin + 'prettier/@typescript-eslint', // Uses eslint-config-prettier to disable ESLint rules from @typescript-eslint/eslint-plugin that would conflict with prettier + 'plugin:prettier/recommended', // Enables eslint-plugin-prettier and eslint-config-prettier. This will display prettier errors as ESLint errors. Make sure this is always the last configuration in the extends array. ], - plugins: ["@typescript-eslint"], + plugins: ['@typescript-eslint'], rules: { // Place to specify ESLint rules. Can be used to overwrite rules specified from the extended configs diff --git a/.prettierrc.js b/.prettierrc.js index 8286e1b..c8c6a54 100644 --- a/.prettierrc.js +++ b/.prettierrc.js @@ -1,6 +1,6 @@ module.exports = { semi: true, - trailingComma: "all", + trailingComma: 'all', singleQuote: true, printWidth: 120, tabWidth: 4,