From a5c002bc4212f34e0d0ff7ca7168ec0e736594b6 Mon Sep 17 00:00:00 2001 From: David Bradshaw Date: Thu, 18 Jun 2020 14:10:51 +0100 Subject: [PATCH] Fix typo --- lib/loaded.js | 2 +- rules/@typescript-eslint/eslint-plugin.js | 7 ++----- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/lib/loaded.js b/lib/loaded.js index 5cef4fd..90217c4 100644 --- a/lib/loaded.js +++ b/lib/loaded.js @@ -1,7 +1,7 @@ module.exports = function showLoaded(rules) { // eslint-disable-next-line no-console console.log(` -@SmartPension/esLint-config loaded the following packages: +EsLint-config-auto loaded the following packages: ${rules.map((plugin) => `eslint-plugin-${plugin}`).join('\n ')}`) } diff --git a/rules/@typescript-eslint/eslint-plugin.js b/rules/@typescript-eslint/eslint-plugin.js index ee82cc3..34663f8 100644 --- a/rules/@typescript-eslint/eslint-plugin.js +++ b/rules/@typescript-eslint/eslint-plugin.js @@ -9,12 +9,9 @@ console.log(configs.map((config) => ` ${config.split(':')[1]}`).join('\n')) module.exports = { overrides: [ { - files: ['*.ts{s}', '**/*.ts{s}'], + files: ['*.ts{x}', '**/*.ts{x}'], extends: configs, + parser: '@typescript-eslint/parser', }, ], - - parserOptions: { - project: './tsconfig.json', - }, }