chore(coding-style): update

- Adding the .editorconfig file
- Ensure there's a trailing comma
- Ensure there's a space before parameter when declaring a function
- Ensure there's no empty line before block declaration
- Ensure 2 spaces is used to indentate
This commit is contained in:
Romain Lanz
2017-09-14 12:11:56 +02:00
parent 5af5aac73f
commit 64c99d111b
11 changed files with 1979 additions and 2249 deletions
+33 -33
View File
@@ -1,49 +1,49 @@
Config = {}
Config.DrawDistance = 100.0
Config.MarkerColor = {r = 120, g = 120, b = 240}
Config.MarkerColor = { r = 120, g = 120, b = 240 }
Config.EnablePlayerManagement = false -- If set to true, you need esx_addonaccount, esx_billing and esx_society
Config.EnablePvCommand = true
Config.EnableOwnedVehicles = true
Config.EnableSocietyOwnedVehicles = false
Config.ResellPercentage = 50
Config.Locale = 'fr'
Config.Locale = 'fr'
Config.Zones = {
ShopEntering = {
Pos = {x = -33.777, y = -1102.021, z = 25.422},
Size = {x = 1.5, y = 1.5, z = 1.0},
Type = 1
},
ShopEntering = {
Pos = { x = -33.777, y = -1102.021, z = 25.422 },
Size = { x = 1.5, y = 1.5, z = 1.0 },
Type = 1
},
ShopInside = {
Pos = {x = -47.570, y = -1097.221, z = 25.422},
Size = {x = 1.5, y = 1.5, z = 1.0},
Type = -1
},
ShopInside = {
Pos = { x = -47.570, y = -1097.221, z = 25.422 },
Size = { x = 1.5, y = 1.5, z = 1.0 },
Type = -1
},
ShopOutside = {
Pos = {x = -28.637, y = -1085.691, z = 25.565},
Size = {x = 1.5, y = 1.5, z = 1.0},
Type = -1
},
ShopOutside = {
Pos = { x = -28.637, y = -1085.691, z = 25.565 },
Size = { x = 1.5, y = 1.5, z = 1.0 },
Type = -1
},
BossActions = {
Pos = {x = -32.106, y = -1110.377, z = 25.422},
Size = {x = 1.5, y = 1.5, z = 1.0},
Type = -1
},
BossActions = {
Pos = { x = -32.106, y = -1110.377, z = 25.422 },
Size = { x = 1.5, y = 1.5, z = 1.0 },
Type = -1
},
GiveBackVehicle = {
Pos = {x = -18.227, y = -1078.558, z = 25.675},
Size = {x = 3.0, y = 3.0, z = 1.0},
Type = (Config.EnablePlayerManagement and 1 or -1)
},
GiveBackVehicle = {
Pos = { x = -18.227, y = -1078.558, z = 25.675 },
Size = { x = 3.0, y = 3.0, z = 1.0 },
Type = (Config.EnablePlayerManagement and 1 or -1)
},
ResellVehicle = {
Pos = {x = -44.630, y = -1080.738, z = 25.683},
Size = {x = 3.0, y = 3.0, z = 1.0},
Type = 1
},
ResellVehicle = {
Pos = { x = -44.630, y = -1080.738, z = 25.683 },
Size = { x = 3.0, y = 3.0, z = 1.0 },
Type = 1
},
}
}