Skip to content

Commit 9af5128

Browse files
committed
add eslintrc and pretterrc
1 parent eb2c706 commit 9af5128

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

.eslintrc

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"rules": {
3+
"quotes": ["error", "single"],
4+
"max-len": ["error", { "code": 120 }],
5+
"operator-linebreak": ["error", "before"]
6+
}
7+
}

.prettierrc

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

0 commit comments

Comments
 (0)