-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy path.eslintrc
27 lines (22 loc) · 968 Bytes
/
.eslintrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# ESLint rule-set
# =============================================================================
# The following rules are intended to be the least restrictive possible. Tweak
# them as much as you want, or simply replace this file with another one you
# have previously edited.
#
# For learn more about ESLint rules, use the reference page:
# - <http://eslint.org/docs/rules/>
env:
es6: true # Enable ES6 features, except modules
browser: true # Enable Browser global variables
ecmaFeatures:
modules: true # Allow the use of ES6 modules
globals:
PIXI: false
Phaser: false
extends: 'eslint:recommended'
rules:
indent: [2, 2] # Indent code with 2 spaces
quotes: [2, single] # Use single quotes for strings
linebreak-style: [2, unix] # Favor Unix-style line endings
semi: [2, always] # End lines with semicolons