Skip to content

Commit c1f033f

Browse files
committed
enforce quote-props eslint rules
1 parent 2b4584d commit c1f033f

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

.eslintrc

+1
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@
5555
"no-floating-decimal": [2],
5656
"space-infix-ops": [2, {"int32Hint": true}],
5757
"quotes": [2, "single"],
58+
"quote-props": ["error", "as-needed"],
5859
"dot-notation": [2],
5960
"dot-location": [2, "property"],
6061
"operator-linebreak": [2, "after"],

lib/locales/.eslintrc

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"extends": "../.eslintrc",
3+
"rules": {
4+
"quote-props": ["error", "consistent"]
5+
}
6+
}

0 commit comments

Comments
 (0)