Skip to content

Commit 132c996

Browse files
committed
chore: use shared eslint config
1 parent cd8d962 commit 132c996

File tree

2 files changed

+3
-24
lines changed

2 files changed

+3
-24
lines changed

eslint.config.js

+2-21
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,3 @@
1-
import prettierConfig from 'eslint-config-prettier';
2-
import prettierPlugin from 'eslint-plugin-prettier/recommended';
3-
import globals from 'globals';
4-
import js from '@eslint/js';
1+
import config from '@podium/eslint-config';
52

6-
export default [
7-
js.configs.recommended,
8-
prettierConfig,
9-
prettierPlugin,
10-
{
11-
languageOptions: {
12-
globals: {
13-
...globals.node,
14-
...globals.browser,
15-
global: true,
16-
},
17-
},
18-
},
19-
{
20-
ignores: ['coverage/*', 'dist/*', 'tap-snapshots/*'],
21-
},
22-
];
3+
export default config;

package.json

+1-3
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@
5252
"objobj": "1.0.0"
5353
},
5454
"devDependencies": {
55+
"@podium/eslint-config": "1.0.0",
5556
"@podium/podlet": "5.1.12",
5657
"@podium/test-utils": "2.5.2",
5758
"@podium/typescript-config": "1.0.0",
@@ -60,10 +61,7 @@
6061
"@types/node": "20.14.10",
6162
"@types/readable-stream": "4.0.15",
6263
"eslint": "9.11.1",
63-
"eslint-config-prettier": "9.1.0",
64-
"eslint-plugin-prettier": "5.2.1",
6564
"express": "4.20.0",
66-
"globals": "15.8.0",
6765
"npm-run-all2": "6.2.3",
6866
"prettier": "3.3.3",
6967
"semantic-release": "24.1.1",

0 commit comments

Comments
 (0)