Skip to content

Commit c8a1b81

Browse files
authored
Merge pull request #32 from SpringRoll/feature/pixi-eslinting
Adding suggested linting rules.
2 parents 66b5fd3 + be240b0 commit c8a1b81

File tree

5 files changed

+908
-65
lines changed

5 files changed

+908
-65
lines changed

.eslintrc

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
{
2+
"parser": "babel-eslint",
3+
"rules": {
4+
"no-cond-assign": 2,
5+
"no-import-assign": 2,
6+
"no-unreachable": 2,
7+
"no-alert": 2,
8+
"no-eval": 2,
9+
"no-implied-eval": 2,
10+
"no-global-assign": 2,
11+
"no-script-url": 2,
12+
"no-use-before-define": 2,
13+
"getter-return": 2,
14+
"no-constant-condition": 2,
15+
"no-dupe-args": 2,
16+
"no-dupe-else-if": 2,
17+
"no-dupe-keys": 2,
18+
"no-duplicate-case": 2,
19+
"array-callback-return": 2,
20+
"default-param-last": 2,
21+
"no-redeclare": 2,
22+
"no-duplicate-imports": 2,
23+
"no-const-assign": 2
24+
}
25+
}

0 commit comments

Comments
 (0)