Skip to content

Commit 01d03d4

Browse files
committed
fix(eslint): default to 2-space indents
1 parent fc4270c commit 01d03d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/app/.eslintrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@
149149
"id-blacklist": 0, //blacklist certain identifiers to prevent them being used
150150
"id-length": 0, //this option enforces minimum and maximum identifier lengths (variable names, property names etc.)
151151
"id-match": 0, //require identifiers to match the provided regular expression
152-
"indent": 2, //specify tab or space width for your code
152+
"indent": ["error", 2], //specify tab or space width for your code
153153
"jsx-quotes": 0, //specify whether double or single quotes should be used in JSX attributes
154154
"key-spacing": 2, //enforce spacing between keys and values in object literal properties
155155
"keyword-spacing": [2, {

0 commit comments

Comments
 (0)