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 cd8d962 commit 132c996
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 24 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/*', 'tap-snapshots/*'],
},
];
export default config;
4 changes: 1 addition & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@
"objobj": "1.0.0"
},
"devDependencies": {
"@podium/eslint-config": "1.0.0",
"@podium/podlet": "5.1.12",
"@podium/test-utils": "2.5.2",
"@podium/typescript-config": "1.0.0",
Expand All @@ -60,10 +61,7 @@
"@types/node": "20.14.10",
"@types/readable-stream": "4.0.15",
"eslint": "9.11.1",
"eslint-config-prettier": "9.1.0",
"eslint-plugin-prettier": "5.2.1",
"express": "4.20.0",
"globals": "15.8.0",
"npm-run-all2": "6.2.3",
"prettier": "3.3.3",
"semantic-release": "24.1.1",
Expand Down

0 comments on commit 132c996

Please sign in to comment.