-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
27 lines (22 loc) · 1000 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.
#
# You can learn more about ESLint rules at <http://eslint.org/docs/rules/>.
env:
es6: true # Enable ES2015 global variables
browser: true # Enable Browser global variables
parserOptions:
ecmaVersion: 6 # Validate ES2015 features
sourceType: module # Allow ES2015 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