Skip to content

Commit 9f21463

Browse files
committed
chore: use shared lint config
1 parent afad161 commit 9f21463

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/*'],
21-
},
22-
];
3+
export default config;

package.json

+1-3
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@
4848
"undici": "6.19.8"
4949
},
5050
"devDependencies": {
51+
"@podium/eslint-config": "1.0.0",
5152
"@podium/test-utils": "2.5.2",
5253
"@semantic-release/changelog": "6.0.3",
5354
"@semantic-release/git": "10.0.1",
@@ -58,11 +59,8 @@
5859
"@types/readable-stream": "4.0.15",
5960
"benchmark": "2.1.4",
6061
"eslint": "9.6.0",
61-
"eslint-config-prettier": "9.1.0",
62-
"eslint-plugin-prettier": "5.1.3",
6362
"express": "4.20.0",
6463
"get-stream": "9.0.1",
65-
"globals": "15.9.0",
6664
"http-proxy": "1.18.1",
6765
"is-stream": "4.0.1",
6866
"npm-run-all2": "5.0.2",

0 commit comments

Comments
 (0)