Skip to content

Commit ee635a0

Browse files
chore(lint): create .prettierrc add prettier plugin to .eslintrc
1 parent 7ce7529 commit ee635a0

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

.eslintrc

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,8 @@
66
"commonjs": true
77
},
88
"extends": "eslint:recommended",
9+
"plugins": ["prettier"],
910
"rules": {
10-
"indent": ["error", 4, { "SwitchCase": 1 }],
11-
"linebreak-style": ["error", "unix"],
12-
"quotes": ["error", "single"],
13-
"semi": ["error", "always"],
14-
"no-unused-vars": ["error", { "vars": "all", "args": "none" }],
15-
"no-cond-assign": 2,
16-
"camelcase": 1
11+
"prettier/prettier": "error"
1712
}
1813
}

.prettierrc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"singleQuote": true
3+
}

0 commit comments

Comments
 (0)