mirror of
https://github.com/liabru/matter-js.git
synced 2024-11-30 10:20:52 -05:00
70 lines
1.5 KiB
Text
70 lines
1.5 KiB
Text
{
|
|
"rules": {
|
|
"no-fallthrough": 2,
|
|
"no-console": 0,
|
|
"no-unused-vars": 0,
|
|
"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,
|
|
"Metrics": false,
|
|
"Example": false
|
|
},
|
|
"extends": "eslint:recommended"
|
|
}
|