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 1b636c2 commit 2ffd1d9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 26 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;
7 changes: 2 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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",
Expand Down

0 comments on commit 2ffd1d9

Please sign in to comment.