Add node/npm based precommit hooks for yaspeller-ci

This commit is contained in:
John Lewin 2017-06-15 15:09:00 -07:00
parent f3b9bfc090
commit 4d4f201857
4 changed files with 1274 additions and 0 deletions

2
.gitignore vendored
View file

@ -16,6 +16,8 @@ StaticData/Translations/L10N/
*.user
*.sln.docstates
node_modules/
# Build results
[Dd]ebug/
[Rr]elease/

123
.yaspellerrc Normal file
View file

@ -0,0 +1,123 @@
{
"lang": "en",
"dictionary": [
"MatterHackers",
"Alessandro",
"Ranellucci",
"Slic3r",
"Braam",
"Ultimaker BV",
"CuraEngine",
"matterhackers",
"GCode",
"nControls",
"nQueue",
"gcode",
"slicer",
"G0",
"G1",
"EEProm",
"nTime",
"nRetraction",
"nWhen",
"nCrossing",
"nPrint",
"Dist",
"Timestamp",
"nGCode",
"SliceSettings",
"nOnly",
"nAre",
"nWould",
"nTo",
"nClick",
"nAuto",
"uncheck",
"MatterContol",
"Gcode",
"nPlease",
"nyour",
"nchange",
"nTip",
"nrefresh",
"nprinter",
"STL",
"Marlin",
"EEPROM",
"per mm",
"feedrates",
"s²",
"feedrate",
"nAnd",
"nRequiring",
"Uh",
"nDo",
"nYou",
"for MatterControl",
"eeprom",
"SD",
"ndata",
"endstops",
"X3G",
"Ungroup",
"Touchscreen",
"Ungrouping",
"G29",
"nConnection",
"nNozzle",
"stl",
"amf or",
"tu",
"PLA",
"nChanging",
"G30",
"outputting",
"XY",
"mm2",
"Hz",
"ini",
"Cura",
"cm³",
"kg",
"s3g",
"Sailfish",
"nNote",
"UnloadFilament",
"nports",
"ZOffset",
"nIf",
"nMake",
"endstop",
"Fillament",
"Endstop",
"x1",
"y1",
"x2",
"y2",
"x3",
"y3",
"ros",
"M119",
"X1",
"Y1",
"Xn",
"Yn",
"nYour",
"nPause",
"OpenSCAD1",
"TestPart",
"ChairFoot",
"XOffset",
"amf",
"Est",
"MatterControl",
"mm",
"mm or",
"com",
"nOnce",
"nIt",
"nis",
"ComPort",
"ms"
]
}

1135
package-lock.json generated Normal file

File diff suppressed because it is too large Load diff

14
package.json Normal file
View file

@ -0,0 +1,14 @@
{
"scripts": {
"precommit": "lint-staged",
"yaspeller-ci": "yaspeller-ci"
},
"lint-staged": {
"Master.txt": "yaspeller-ci"
},
"devDependencies": {
"husky": "^0.13.4",
"lint-staged": "^3.6.1",
"yaspeller-ci": "^0.4.0"
}
}