mirror of
https://github.com/liabru/matter-js.git
synced 2024-11-23 09:26:51 -05:00
tweak jshint
This commit is contained in:
parent
31fb7486e0
commit
71df1b9427
1 changed files with 3 additions and 2 deletions
|
@ -29,12 +29,13 @@
|
|||
|
||||
// variables
|
||||
"undef": true,
|
||||
// "unused": true,
|
||||
"-W079": true, // Silence redefinition errors (they are false positives).
|
||||
"-W020": true, // Silence readonly error (needed to simplify support for node).
|
||||
"predef": [
|
||||
"Matter", "window", "document", "Element", "MatterTools",
|
||||
"phantom", "process", "HTMLElement", "require", "PIXI",
|
||||
"$", "Image", "navigator", "setTimeout", "decomp", "module",
|
||||
"phantom", "process", "HTMLElement", "require", "PIXI", "$",
|
||||
"Example", "Image", "navigator", "setTimeout", "decomp", "module",
|
||||
"Body", "Composite", "World", "Contact", "Detector", "Grid",
|
||||
"Pairs", "Pair", "Resolver", "SAT", "Constraint", "MouseConstraint",
|
||||
"Common", "Engine", "Mouse", "Sleeping", "Bodies", "Composites",
|
||||
|
|
Loading…
Reference in a new issue