Skip to content

Commit

Permalink
chore: use shared eslint config
Browse files Browse the repository at this point in the history
  • Loading branch information
wkillerud committed Sep 27, 2024
1 parent eaac30f commit 06584d1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 25 deletions.
23 changes: 2 additions & 21 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -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;
5 changes: 1 addition & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 06584d1

Please sign in to comment.