File tree Expand file tree Collapse file tree 5 files changed +46
-3
lines changed Expand file tree Collapse file tree 5 files changed +46
-3
lines changed Original file line number Diff line number Diff line change
1
+ # OS
2
+ .DS_Store
3
+ .idea
4
+ .editorconfig
5
+ .npmrc
6
+ package-lock.json
7
+ yarn.lock
8
+ node_modules /
9
+ android /
10
+ ios /
11
+
12
+ # Ignored suffix
13
+ * .log
14
+ * .svg
15
+ * .png
16
+ * ignore
Original file line number Diff line number Diff line change
1
+ module . exports = {
2
+ printWidth : 120 ,
3
+ tabWidth : 2 ,
4
+ useTabs : false ,
5
+ semi : true ,
6
+ singleQuote : true ,
7
+ quoteProps : 'as-needed' ,
8
+ jsxSingleQuote : false ,
9
+ trailingComma : 'all' ,
10
+ bracketSpacing : true ,
11
+ jsxBracketSameLine : false ,
12
+ arrowParens : 'always' ,
13
+ rangeStart : 0 ,
14
+ rangeEnd : Infinity ,
15
+ requirePragma : false ,
16
+ insertPragma : false ,
17
+ proseWrap : 'preserve' ,
18
+ htmlWhitespaceSensitivity : 'css' ,
19
+ endOfLine : 'lf' ,
20
+ embeddedLanguageFormatting : 'auto' ,
21
+ } ;
Original file line number Diff line number Diff line change 2
2
"editor.tabSize" : 2 ,
3
3
"files.eol" : " \n " ,
4
4
"files.associations" : { "*.h" : " objective-c" },
5
+ "editor.formatOnSave" : true ,
6
+ "editor.defaultFormatter" : " esbenp.prettier-vscode" ,
5
7
"[java]" : {
6
- "editor.formatOnSave" : true ,
7
8
"editor.defaultFormatter" : " xaver.clang-format"
8
9
},
9
10
"[objective-c]" : {
10
- "editor.formatOnSave" : true ,
11
11
"editor.defaultFormatter" : " xaver.clang-format"
12
12
},
13
13
"clang-format.executable" : " ${workspaceRoot}/node_modules/.bin/clang-format"
Original file line number Diff line number Diff line change 32
32
"licenseFilename" : " LICENSE" ,
33
33
"readmeFilename" : " README.md" ,
34
34
"devDependencies" : {
35
- "clang-format" : " ^1.4.0"
35
+ "clang-format" : " ^1.4.0" ,
36
+ "prettier" : " ^2.3.2"
36
37
}
37
38
}
Original file line number Diff line number Diff line change @@ -107,6 +107,11 @@ path-parse@^1.0.6:
107
107
resolved "https://registry.nlark.com/path-parse/download/path-parse-1.0.7.tgz#fbc114b60ca42b30d9daf5858e4bd68bbedb6735"
108
108
integrity sha1-+8EUtgykKzDZ2vWFjkvWi77bZzU=
109
109
110
+ prettier@^2.3.2 :
111
+ version "2.3.2"
112
+ resolved "https://registry.nlark.com/prettier/download/prettier-2.3.2.tgz?cache=0&sync_timestamp=1624696259185&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fprettier%2Fdownload%2Fprettier-2.3.2.tgz#ef280a05ec253712e486233db5c6f23441e7342d"
113
+ integrity sha1-7ygKBewlNxLkhiM9tcbyNEHnNC0=
114
+
110
115
resolve@^1.1.6 :
111
116
version "1.20.0"
112
117
resolved "https://registry.nlark.com/resolve/download/resolve-1.20.0.tgz#629a013fb3f70755d6f0b7935cc1c2c5378b1975"
You can’t perform that action at this time.
0 commit comments