diff --git a/eslint.config.js b/eslint.config.js index 30aa733..47758a2 100644 --- a/eslint.config.js +++ b/eslint.config.js @@ -1,22 +1,3 @@ -import prettierConfig from 'eslint-config-prettier'; -import prettierPlugin from 'eslint-plugin-prettier/recommended'; -import globals from 'globals'; -import js from '@eslint/js'; +import config from '@podium/eslint-config'; -export default [ - js.configs.recommended, - prettierConfig, - prettierPlugin, - { - languageOptions: { - globals: { - ...globals.node, - ...globals.browser, - global: true, - }, - }, - }, - { - ignores: ['coverage/*', 'dist/*'], - }, -]; +export default config; diff --git a/package.json b/package.json index 0480192..55da7a9 100644 --- a/package.json +++ b/package.json @@ -44,18 +44,15 @@ "fastify-plugin": "4.5.1" }, "devDependencies": { - "@babel/eslint-parser": "7.24.7", "@fastify/formbody": "7.4.0", + "@podium/eslint-config": "1.0.0", "@podium/layout": "5.2.7", "@podium/test-utils": "3.0.6", "@semantic-release/changelog": "6.0.3", "@semantic-release/git": "10.0.1", "eslint": "9.6.0", - "eslint-config-prettier": "9.1.0", - "eslint-plugin-prettier": "5.1.3", "fastify": "4.28.1", "fastify-formbody": "5.3.0", - "globals": "15.9.0", "npm-run-all2": "5.0.2", "prettier": "3.3.2", "semantic-release": "22.0.12",