File tree
Expand file treeCollapse file tree3 files changed
+270
-0
lines changed Expand file treeCollapse file tree3 files changed
+270
-0
lines changed Original file line number | Diff line number | Diff line change |
---|
|
| 1 | +node_modules/ |
Original file line number | Diff line number | Diff line change |
---|
|
| 1 | +{ |
| 2 | +"env": { |
| 3 | +"browser": true, |
| 4 | +"es6": true, |
| 5 | +"node": true |
| 6 | +}, |
| 7 | +"globals": { |
| 8 | +"memory": true |
| 9 | +}, |
| 10 | +"extends": "eslint:recommended", |
| 11 | +"parserOptions": { |
| 12 | +"ecmaVersion": 2018 |
| 13 | +}, |
| 14 | +"rules": { |
| 15 | +"indent": [ |
| 16 | +"error", |
| 17 | +2 |
| 18 | +], |
| 19 | +"linebreak-style": [ |
| 20 | +"error", |
| 21 | +"unix" |
| 22 | +], |
| 23 | +"quotes": [ |
| 24 | +"error", |
| 25 | +"single" |
| 26 | +], |
| 27 | +"semi": [ |
| 28 | +"error", |
| 29 | +"always" |
| 30 | +], |
| 31 | +"no-console": "off", |
| 32 | +"no-loop-func": [ |
| 33 | +"error" |
| 34 | +], |
| 35 | +"block-spacing": [ |
| 36 | +"error", |
| 37 | +"always" |
| 38 | +], |
| 39 | +"camelcase": [ |
| 40 | +"error" |
| 41 | +], |
| 42 | +"eqeqeq": [ |
| 43 | +"error", |
| 44 | +"always" |
| 45 | +], |
| 46 | +"strict": [ |
| 47 | +"error", |
| 48 | +"global" |
| 49 | +], |
| 50 | +"brace-style": [ |
| 51 | +"error", |
| 52 | +"1tbs", |
| 53 | +{ |
| 54 | +"allowSingleLine": true |
| 55 | +} |
| 56 | +], |
| 57 | +"comma-style": [ |
| 58 | +"error", |
| 59 | +"last" |
| 60 | +], |
| 61 | +"comma-spacing": [ |
| 62 | +"error", |
| 63 | +{ |
| 64 | +"before": false, |
| 65 | +"after": true |
| 66 | +} |
| 67 | +], |
| 68 | +"eol-last": [ |
| 69 | +"error" |
| 70 | +], |
| 71 | +"func-call-spacing": [ |
| 72 | +"error", |
| 73 | +"never" |
| 74 | +], |
| 75 | +"key-spacing": [ |
| 76 | +"error", |
| 77 | +{ |
| 78 | +"beforeColon": false, |
| 79 | +"afterColon": true, |
| 80 | +"mode": "minimum" |
| 81 | +} |
| 82 | +], |
| 83 | +"keyword-spacing": [ |
| 84 | +"error", |
| 85 | +{ |
| 86 | +"before": true, |
| 87 | +"after": true, |
| 88 | +"overrides": { |
| 89 | +"function": { |
| 90 | +"after": false |
| 91 | +} |
| 92 | +} |
| 93 | +} |
| 94 | +], |
| 95 | +"max-len": [ |
| 96 | +"error", |
| 97 | +{ |
| 98 | +"code": 80, |
| 99 | +"ignoreUrls": true |
| 100 | +} |
| 101 | +], |
| 102 | +"max-nested-callbacks": [ |
| 103 | +"error", |
| 104 | +{ |
| 105 | +"max": 7 |
| 106 | +} |
| 107 | +], |
| 108 | +"new-cap": [ |
| 109 | +"error", |
| 110 | +{ |
| 111 | +"newIsCap": true, |
| 112 | +"capIsNew": false, |
| 113 | +"properties": true |
| 114 | +} |
| 115 | +], |
| 116 | +"new-parens": [ |
| 117 | +"error" |
| 118 | +], |
| 119 | +"no-trailing-spaces": [ |
| 120 | +"error" |
| 121 | +], |
| 122 | +"no-unneeded-ternary": [ |
| 123 | +"error" |
| 124 | +], |
| 125 | +"no-whitespace-before-property": [ |
| 126 | +"error" |
| 127 | +], |
| 128 | +"object-curly-spacing": [ |
| 129 | +"error", |
| 130 | +"always" |
| 131 | +], |
| 132 | +"operator-assignment": [ |
| 133 | +"error", |
| 134 | +"always" |
| 135 | +], |
| 136 | +"operator-linebreak": [ |
| 137 | +"error", |
| 138 | +"after" |
| 139 | +], |
| 140 | +"semi-spacing": [ |
| 141 | +"error", |
| 142 | +{ |
| 143 | +"before": false, |
| 144 | +"after": true |
| 145 | +} |
| 146 | +], |
| 147 | +"space-before-blocks": [ |
| 148 | +"error", |
| 149 | +"always" |
| 150 | +], |
| 151 | +"space-before-function-paren": [ |
| 152 | +"error", |
| 153 | +{ |
| 154 | +"anonymous": "always", |
| 155 | +"named": "never", |
| 156 | +"asyncArrow": "always" |
| 157 | +} |
| 158 | +], |
| 159 | +"space-in-parens": [ |
| 160 | +"error", |
| 161 | +"never" |
| 162 | +], |
| 163 | +"space-infix-ops": [ |
| 164 | +"error" |
| 165 | +], |
| 166 | +"space-unary-ops": [ |
| 167 | +"error", |
| 168 | +{ |
| 169 | +"words": true, |
| 170 | +"nonwords": false, |
| 171 | +"overrides": { |
| 172 | +"typeof": false |
| 173 | +} |
| 174 | +} |
| 175 | +], |
| 176 | +"no-unreachable": [ |
| 177 | +"error" |
| 178 | +], |
| 179 | +"no-global-assign": [ |
| 180 | +"error" |
| 181 | +], |
| 182 | +"no-self-compare": [ |
| 183 | +"error" |
| 184 | +], |
| 185 | +"no-unmodified-loop-condition": [ |
| 186 | +"error" |
| 187 | +], |
| 188 | +"no-constant-condition": [ |
| 189 | +"error", |
| 190 | +{ |
| 191 | +"checkLoops": false |
| 192 | +} |
| 193 | +], |
| 194 | +"no-console": [ |
| 195 | +"off" |
| 196 | +], |
| 197 | +"no-useless-concat": [ |
| 198 | +"error" |
| 199 | +], |
| 200 | +"no-useless-escape": [ |
| 201 | +"error" |
| 202 | +], |
| 203 | +"no-shadow-restricted-names": [ |
| 204 | +"error" |
| 205 | +], |
| 206 | +"no-use-before-define": [ |
| 207 | +"error", |
| 208 | +{ |
| 209 | +"functions": false |
| 210 | +} |
| 211 | +], |
| 212 | +"arrow-parens": [ |
| 213 | +"error", |
| 214 | +"as-needed" |
| 215 | +], |
| 216 | +"arrow-body-style": [ |
| 217 | +"error", |
| 218 | +"as-needed" |
| 219 | +], |
| 220 | +"arrow-spacing": [ |
| 221 | +"error" |
| 222 | +], |
| 223 | +"no-confusing-arrow": [ |
| 224 | +"error", |
| 225 | +{ |
| 226 | +"allowParens": true |
| 227 | +} |
| 228 | +], |
| 229 | +"no-useless-computed-key": [ |
| 230 | +"error" |
| 231 | +], |
| 232 | +"no-useless-rename": [ |
| 233 | +"error" |
| 234 | +], |
| 235 | +"no-var": [ |
| 236 | +"error" |
| 237 | +], |
| 238 | +"object-shorthand": [ |
| 239 | +"error", |
| 240 | +"always" |
| 241 | +], |
| 242 | +"prefer-arrow-callback": [ |
| 243 | +"error" |
| 244 | +], |
| 245 | +"prefer-const": [ |
| 246 | +"error" |
| 247 | +], |
| 248 | +"prefer-numeric-literals": [ |
| 249 | +"error" |
| 250 | +], |
| 251 | +"prefer-rest-params": [ |
| 252 | +"error" |
| 253 | +], |
| 254 | +"prefer-spread": [ |
| 255 | +"error" |
| 256 | +], |
| 257 | +"rest-spread-spacing": [ |
| 258 | +"error", |
| 259 | +"never" |
| 260 | +], |
| 261 | +"template-curly-spacing": [ |
| 262 | +"error", |
| 263 | +"never" |
| 264 | +] |
| 265 | +} |
| 266 | +} |
Original file line number | Diff line number | Diff line change |
---|
|
| 1 | +node_modules |
| 2 | +*.log |
| 3 | +.DS_Store |
You can’t perform that action at this time.
0 commit comments