|
6 | 6 | "type": "git", |
7 | 7 | "url": "https://github.com/chrisveness/geodesy" |
8 | 8 | }, |
9 | | - "keywords": [ |
10 | | - "geodesy", |
11 | | - "latitude", |
12 | | - "longitude", |
13 | | - "distance", |
14 | | - "bearing", |
15 | | - "destination", |
16 | | - "haversine", |
17 | | - "vincenty", |
18 | | - "rhumb", |
19 | | - "ellipsoid", |
20 | | - "datum", |
21 | | - "reference frame", |
22 | | - "TRF", |
23 | | - "wgs84", |
24 | | - "utm", |
25 | | - "mgrs" |
26 | | - ], |
| 9 | + "keywords": [ "geodesy", "latitude", "longitude", "distance", "bearing", "destination", "haversine", "vincenty", "rhumb", "ellipsoid", "datum", "reference frame", "TRF", "wgs84", "utm", "mgrs" ], |
27 | 10 | "author": "Chris Veness", |
28 | | - "version": "2.0.0", |
| 11 | + "version": "2.0.1", |
29 | 12 | "license": "MIT", |
30 | 13 | "engines": { |
31 | 14 | "node": ">=8.0.0" |
|
40 | 23 | "devDependencies": { |
41 | 24 | "babel-eslint": "^10.0.1", |
42 | 25 | "chai": "^4.2.0", |
43 | | - "coveralls": "^3.0.2", |
44 | | - "eslint": "^5.13.0", |
45 | | - "esm": "^3.2.5", |
| 26 | + "coveralls": "^3.0.3", |
| 27 | + "eslint": "^5.16.0", |
| 28 | + "esm": "^3.2.22", |
46 | 29 | "jsdoc": "^3.5.5", |
47 | | - "mocha": "^6.0.0", |
| 30 | + "mocha": "^6.1.2", |
48 | 31 | "nyc": "^13.3.0" |
49 | 32 | }, |
50 | 33 | "eslintConfig": { |
|
61 | 44 | "should": true |
62 | 45 | }, |
63 | 46 | "rules": { |
64 | | - "array-bracket-spacing": [ |
65 | | - "error", |
66 | | - "always" |
67 | | - ], |
68 | | - "comma-dangle": [ |
69 | | - "error", |
70 | | - "always-multiline" |
71 | | - ], |
72 | | - "comma-spacing": [ |
73 | | - "error" |
74 | | - ], |
75 | | - "curly": [ |
76 | | - "error", |
77 | | - "multi-line" |
78 | | - ], |
79 | | - "indent": [ |
80 | | - "error", |
81 | | - 4, |
82 | | - { |
83 | | - "SwitchCase": 1 |
84 | | - } |
85 | | - ], |
86 | | - "key-spacing": [ |
87 | | - "error", |
88 | | - { |
89 | | - "align": "value" |
90 | | - } |
91 | | - ], |
92 | | - "keyword-spacing": [ |
93 | | - "error" |
94 | | - ], |
| 47 | + "array-bracket-spacing": [ "error", "always" ], |
| 48 | + "comma-dangle": [ "error", "always-multiline" ], |
| 49 | + "comma-spacing": [ "error" ], |
| 50 | + "curly": [ "error", "multi-line" ], |
| 51 | + "indent": [ "error", 4, { "SwitchCase": 1 } ], |
| 52 | + "key-spacing": [ "error", { "align": "value" } ], |
| 53 | + "keyword-spacing": [ "error" ], |
95 | 54 | "no-case-declarations": "warn", |
96 | | - "no-console": [ |
97 | | - "warn", |
98 | | - { |
99 | | - "allow": [ |
100 | | - "error", |
101 | | - "info" |
102 | | - ] |
103 | | - } |
104 | | - ], |
| 55 | + "no-console": [ "warn", { "allow": [ "error", "info" ] } ], |
105 | 56 | "no-irregular-whitespace": "warn", |
106 | 57 | "no-redeclare": "warn", |
107 | 58 | "no-shadow": "warn", |
108 | 59 | "no-unused-vars": "warn", |
109 | 60 | "no-var": "error", |
110 | | - "object-curly-spacing": [ |
111 | | - "error", |
112 | | - "always" |
113 | | - ], |
| 61 | + "object-curly-spacing": [ "error", "always" ], |
114 | 62 | "prefer-const": "error", |
115 | | - "quotes": [ |
116 | | - "error", |
117 | | - "single", |
118 | | - "avoid-escape" |
119 | | - ], |
120 | | - "semi": [ |
121 | | - "error", |
122 | | - "always" |
123 | | - ], |
124 | | - "space-before-blocks": [ |
125 | | - "error", |
126 | | - "always" |
127 | | - ], |
128 | | - "space-in-parens": [ |
129 | | - "error" |
130 | | - ], |
131 | | - "strict": [ |
132 | | - "error", |
133 | | - "global" |
134 | | - ] |
| 63 | + "quotes": [ "error", "single", "avoid-escape" ], |
| 64 | + "semi": [ "error", "always" ], |
| 65 | + "space-before-blocks": [ "error", "always" ], |
| 66 | + "space-in-parens": [ "error" ], |
| 67 | + "strict": [ "error", "global" ] |
135 | 68 | } |
136 | 69 | }, |
137 | 70 | "jsdoc": { |
138 | | - "plugins": [ |
139 | | - "plugins/markdown" |
140 | | - ], |
141 | | - "markdown": { |
142 | | - "idInHeadings": true |
143 | | - } |
| 71 | + "plugins": [ "plugins/markdown" ], |
| 72 | + "markdown": { "idInHeadings": true } |
144 | 73 | } |
145 | 74 | } |
0 commit comments