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', - }, }