2015-11-29 09:27:38 -05:00
|
|
|
{
|
|
|
|
"rules": {
|
2017-02-01 19:17:01 -05:00
|
|
|
"no-fallthrough": 2,
|
2015-11-29 09:27:38 -05:00
|
|
|
"no-console": 0,
|
|
|
|
"no-unused-vars": 0,
|
2017-05-03 19:38:45 -04:00
|
|
|
"no-redeclare": 0,
|
2015-11-29 09:27:38 -05:00
|
|
|
"indent": [
|
|
|
|
2,
|
|
|
|
4
|
|
|
|
],
|
|
|
|
"semi": [
|
|
|
|
2,
|
|
|
|
"always"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"env": {
|
|
|
|
"node": true,
|
|
|
|
"browser": true,
|
|
|
|
"jquery": true,
|
|
|
|
"amd": true
|
|
|
|
},
|
|
|
|
"globals": {
|
|
|
|
"Matter": false,
|
|
|
|
"window": true,
|
|
|
|
"document": false,
|
|
|
|
"Element": false,
|
|
|
|
"MatterTools": false,
|
|
|
|
"phantom": false,
|
|
|
|
"process": false,
|
|
|
|
"HTMLElement": false,
|
|
|
|
"require": false,
|
|
|
|
"PIXI": false,
|
|
|
|
"$": false,
|
|
|
|
"Image": false,
|
|
|
|
"navigator": false,
|
|
|
|
"setTimeout": false,
|
|
|
|
"decomp": false,
|
|
|
|
"module": false,
|
|
|
|
"Body": false,
|
|
|
|
"Composite": false,
|
|
|
|
"World": false,
|
|
|
|
"Contact": false,
|
|
|
|
"Detector": false,
|
|
|
|
"Grid": false,
|
|
|
|
"Pairs": false,
|
|
|
|
"Pair": false,
|
|
|
|
"Resolver": false,
|
|
|
|
"SAT": false,
|
|
|
|
"Constraint": false,
|
|
|
|
"MouseConstraint": false,
|
|
|
|
"Common": false,
|
|
|
|
"Engine": false,
|
|
|
|
"Mouse": false,
|
|
|
|
"Sleeping": false,
|
|
|
|
"Bodies": false,
|
|
|
|
"Composites": false,
|
|
|
|
"Axes": false,
|
|
|
|
"Bounds": false,
|
|
|
|
"Vector": false,
|
|
|
|
"Vertices": false,
|
|
|
|
"Render": false,
|
|
|
|
"RenderPixi": false,
|
|
|
|
"Events": false,
|
|
|
|
"Query": false,
|
|
|
|
"Runner": false,
|
|
|
|
"Svg": false,
|
2017-01-26 19:20:42 -05:00
|
|
|
"Metrics": false,
|
2019-09-14 13:36:22 -04:00
|
|
|
"Example": false,
|
2019-09-28 10:15:54 -04:00
|
|
|
"__MATTER_VERSION__": false,
|
|
|
|
"jest": false,
|
|
|
|
"test": false,
|
|
|
|
"expect": false,
|
|
|
|
"describe": false
|
2015-11-29 09:27:38 -05:00
|
|
|
},
|
|
|
|
"extends": "eslint:recommended"
|
|
|
|
}
|