Commit 586ea46
authored
ref: Unify code style using Prettier and update ESLint rules
* Add Prettier, precommit hook using Husky and update ESLint to play nicely with Prettier.
* Run new code-style setup on all relevant .js files, without any changes in the code itself.
* Update ESLint version and unify package.json with the one from raven-node.
* Add lint script to package.json and configure .eslintignore, so it can be used by Grunt and npm.1 parent 9730997 commit 586ea46
File tree
28 files changed
+8885
-7501
lines changed- plugins
- src
- test
- integration
- plugins
- vendor
28 files changed
+8885
-7501
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
| 14 | + | |
| 15 | + | |
25 | 16 | | |
26 | 17 | | |
27 | 18 | | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
| 19 | + | |
32 | 20 | | |
33 | 21 | | |
34 | 22 | | |
35 | 23 | | |
36 | | - | |
37 | 24 | | |
38 | 25 | | |
39 | 26 | | |
| |||
44 | 31 | | |
45 | 32 | | |
46 | 33 | | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
| 34 | + | |
51 | 35 | | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
72 | 43 | | |
0 commit comments