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 0454bdb..2f68c7d 100644 --- a/package.json +++ b/package.json @@ -40,7 +40,7 @@ "types": "tsc --declaration --emitDeclarationOnly" }, "devDependencies": { - "@babel/eslint-parser": "7.25.1", + "@podium/eslint-config": "1.0.0", "@podium/schemas": "5.0.6", "@semantic-release/changelog": "6.0.3", "@semantic-release/commit-analyzer": "13.0.0", @@ -50,10 +50,7 @@ "@semantic-release/release-notes-generator": "14.0.1", "@types/node": "22.5.5", "benchmark": "2.1.4", - "eslint": "9.10.0", - "eslint-config-prettier": "9.1.0", - "eslint-plugin-prettier": "5.2.1", - "globals": "15.9.0", + "eslint": "9.11.1", "npm-run-all2": "5.0.2", "prettier": "3.3.3", "tap": "16.3.10",