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
|
// variables
|
||||||
"undef": true,
|
"undef": true,
|
||||||
|
// "unused": true,
|
||||||
"-W079": true, // Silence redefinition errors (they are false positives).
|
"-W079": true, // Silence redefinition errors (they are false positives).
|
||||||
"-W020": true, // Silence readonly error (needed to simplify support for node).
|
"-W020": true, // Silence readonly error (needed to simplify support for node).
|
||||||
"predef": [
|
"predef": [
|
||||||
"Matter", "window", "document", "Element", "MatterTools",
|
"Matter", "window", "document", "Element", "MatterTools",
|
||||||
"phantom", "process", "HTMLElement", "require", "PIXI",
|
"phantom", "process", "HTMLElement", "require", "PIXI", "$",
|
||||||
"$", "Image", "navigator", "setTimeout", "decomp", "module",
|
"Example", "Image", "navigator", "setTimeout", "decomp", "module",
|
||||||
"Body", "Composite", "World", "Contact", "Detector", "Grid",
|
"Body", "Composite", "World", "Contact", "Detector", "Grid",
|
||||||
"Pairs", "Pair", "Resolver", "SAT", "Constraint", "MouseConstraint",
|
"Pairs", "Pair", "Resolver", "SAT", "Constraint", "MouseConstraint",
|
||||||
"Common", "Engine", "Mouse", "Sleeping", "Bodies", "Composites",
|
"Common", "Engine", "Mouse", "Sleeping", "Bodies", "Composites",
|
||||||
|
|
Loading…
Reference in a new issue