Skip to content
This repository was archived by the owner on Jan 17, 2025. It is now read-only.

Commit e9e32cf

Browse files
committed
update lint config
1 parent 8ef4e1e commit e9e32cf

File tree

2 files changed

+37
-1
lines changed

2 files changed

+37
-1
lines changed

package.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@
5555
"eslint-import-resolver-typescript": "^2.5.0",
5656
"eslint-plugin-import": "^2.25.4",
5757
"eslint-plugin-jsx-a11y": "^6.5.1",
58+
"eslint-plugin-prettier": "^4.0.0",
5859
"eslint-plugin-react": "^7.28.0",
5960
"eslint-plugin-react-hooks": "^4.3.0",
6061
"eslint-plugin-unicorn": "^41.0.0",
@@ -74,6 +75,9 @@
7475
"extends": [
7576
"./node_modules/@itsmapleleaf/configs/eslint"
7677
],
78+
"plugins": [
79+
"prettier"
80+
],
7781
"ignorePatterns": [
7882
"**/node_modules/**",
7983
"**/dist/**",
@@ -83,10 +87,12 @@
8387
"**/integration/fixtures/**"
8488
],
8589
"rules": {
90+
"prettier/prettier": "error",
8691
"import/no-unused-modules": "off",
8792
"unicorn/prefer-module": "off",
8893
"unicorn/prevent-abbreviations": "off",
89-
"unicorn/no-process-exit": "off"
94+
"unicorn/no-process-exit": "off",
95+
"prefer-const": "error"
9096
}
9197
},
9298
"prettier": "@itsmapleleaf/configs/prettier",

pnpm-lock.yaml

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

0 commit comments

Comments
 (0)