Skip to content

Commit a3b4764

Browse files
committed
Delete prettier plugin from eslint config and replace with simple config
1 parent 7a6c56a commit a3b4764

File tree

3 files changed

+12
-68
lines changed

3 files changed

+12
-68
lines changed

eslint.config.mjs

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import prettier from 'eslint-plugin-prettier'
1+
import prettier from 'eslint-config-prettier'
22
import globals from 'globals'
33
import path from 'node:path'
44
import { fileURLToPath } from 'node:url'
@@ -14,12 +14,8 @@ const compat = new FlatCompat({
1414
})
1515

1616
export default [
17-
...compat.extends('eslint:recommended', 'prettier'),
17+
...compat.extends('eslint:recommended'),
1818
{
19-
plugins: {
20-
prettier,
21-
},
22-
2319
languageOptions: {
2420
globals: {
2521
...globals.node,
@@ -62,4 +58,5 @@ export default [
6258
],
6359
},
6460
},
61+
prettier,
6562
]

package-lock.json

Lines changed: 8 additions & 60 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
},
4040
"homepage": "https://github.com/hed-standard/hed-javascript",
4141
"dependencies": {
42-
"fast-xml-parser": "^5.5.6",
42+
"fast-xml-parser": "^5.5.8",
4343
"lodash": "^4.17.23",
4444
"pluralize": "^8.0.0",
4545
"semver": "^7.7.4",
@@ -62,7 +62,6 @@
6262
"esbuild-runner": "^2.2.2",
6363
"eslint": "^10.0.3",
6464
"eslint-config-prettier": "^10.1.8",
65-
"eslint-plugin-prettier": "^5.5.5",
6665
"globals": "^17.4.0",
6766
"husky": "^9.1.7",
6867
"identity-obj-proxy": "^3.0.0",

0 commit comments

Comments
 (0)