From 91d587f34bf985bf65e6c21278e7cd70f9281656 Mon Sep 17 00:00:00 2001 From: Thodoris Greasidis Date: Thu, 19 Dec 2024 15:31:39 +0200 Subject: [PATCH] Drop the unnecessary eslint.config.js Change-type: patch --- eslint.config.js | 16 ---------------- package.json | 2 +- 2 files changed, 1 insertion(+), 17 deletions(-) delete mode 100644 eslint.config.js diff --git a/eslint.config.js b/eslint.config.js deleted file mode 100644 index 15fce73..0000000 --- a/eslint.config.js +++ /dev/null @@ -1,16 +0,0 @@ -// eslint-disable-next-line @typescript-eslint/no-require-imports -const { FlatCompat } = require('@eslint/eslintrc'); - -const compat = new FlatCompat({ - baseDirectory: __dirname, -}); -module.exports = [ - // eslint-disable-next-line @typescript-eslint/no-require-imports - ...require('@balena/lint/config/eslint.config'), - ...compat.config({ - parserOptions: { - project: './tsconfig.dev.json', - sourceType: 'module', - }, - }), -]; diff --git a/package.json b/package.json index db87202..abb0297 100644 --- a/package.json +++ b/package.json @@ -29,7 +29,7 @@ "test:all": "ts-mocha --project ./tsconfig.dev.json --paths tests/e2e.ts", "test:ci": "tsc && npm run test:all", "lint": "balena-lint -e ts src tests -t tsconfig.dev.json", - "lint-fix": "balena-lint -e ts src tests --fix -t tsconfig.dev.json", + "lint-fix": "balena-lint -e ts src tests -t tsconfig.dev.json --fix", "readme": "jsdoc2md --template doc/README.hbs build/init.js > README.md" }, "author": "Juan Cruz Viotti ",