Add clang-format package and dotfile

This commit is contained in:
Rachel Fenichel
2021-01-07 13:04:24 -08:00
parent 9dcd060a90
commit d4331058c1
3 changed files with 23 additions and 0 deletions

3
.clang-format Normal file
View File

@@ -0,0 +1,3 @@
Language: JavaScript
BasedOnStyle: Google
ColumnLimit: 80

19
package-lock.json generated
View File

@@ -1399,6 +1399,25 @@
}
}
},
"clang-format": {
"version": "1.5.0",
"resolved": "https://registry.npmjs.org/clang-format/-/clang-format-1.5.0.tgz",
"integrity": "sha512-C1LucFX7E+ABVYcPEbBHM4PYQ2+WInXsqsLpFlQ9cmRfSbk7A7b1I06h/nE4bQ3MsyEkb31jY2gC0Dtc76b4IA==",
"dev": true,
"requires": {
"async": "^1.5.2",
"glob": "^7.0.0",
"resolve": "^1.1.6"
},
"dependencies": {
"async": {
"version": "1.5.2",
"resolved": "https://registry.npmjs.org/async/-/async-1.5.2.tgz",
"integrity": "sha1-7GphrlZIDAw8skHJVhjiCJL5Zyo=",
"dev": true
}
}
},
"class-utils": {
"version": "0.3.6",
"resolved": "https://registry.npmjs.org/class-utils/-/class-utils-0.3.6.tgz",

View File

@@ -61,6 +61,7 @@
"@blockly/theme-modern": "^2.1.1",
"babel-eslint": "^10.1.0",
"chai": "^4.2.0",
"clang-format": "^1.5.0",
"concurrently": "^5.3.0",
"eslint": "^7.6.0",
"eslint-plugin-es5": "^1.5.0",