mirror of
https://github.com/liabru/matter-js.git
synced 2024-12-30 14:29:04 -05:00
74 lines
1.7 KiB
Text
74 lines
1.7 KiB
Text
{
|
|
"rules": {
|
|
"no-fallthrough": 2,
|
|
"no-console": 0,
|
|
"no-unused-vars": 0,
|
|
"no-redeclare": 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,
|
|
"$": 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,
|
|
"Events": false,
|
|
"Query": false,
|
|
"Runner": false,
|
|
"Svg": false,
|
|
"Example": false,
|
|
"__MATTER_VERSION__": false,
|
|
"__MATTER_IS_DEV__": false,
|
|
"jest": false,
|
|
"test": false,
|
|
"expect": false,
|
|
"describe": false
|
|
},
|
|
"extends": "eslint:recommended"
|
|
}
|