diff --git a/.eslintrc.js b/.eslintrc.js new file mode 100644 index 0000000..d5a9d78 --- /dev/null +++ b/.eslintrc.js @@ -0,0 +1,41 @@ +module.exports = { + "extends": ["eslint:recommended", "plugin:react/recommended"], + 'parser': 'babel-eslint', + 'env': { + 'jest': true, + }, + 'rules': { + "prefer-arrow-callback": "error", + "indent": [ + "error", + 4, { + "SwitchCase": 1 + } + ], + "linebreak-style": [ + "error", + "unix" + ], + "quotes": [ + "warn", + "single", + { + "allowTemplateLiterals": true + } + ], + "semi": [ + "error", + "never" + ], + "comma-dangle": ["fix", "always"], + 'no-use-before-define': 'off', + 'react/jsx-filename-extension': 'off', + 'react/prop-types': 'off', + }, + 'globals': { + "fetch": false, + "process": false, + "module": false, + "global": false, + } +} diff --git a/.vscode/settings.json b/.vscode/settings.json index ab86c4c..644ce9b 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -3,6 +3,7 @@ "deets", "focer", "Greenway", + "linebreak", "lolz", "shitz" ] diff --git a/500And650.md b/500And650.md index a8fbfb5..af1be4a 100644 --- a/500And650.md +++ b/500And650.md @@ -50,12 +50,12 @@ * `2.8 with terminals Electrical Wire Connectors` is what they are called. * This is what most controllers use. * You will need a [crimper](https://www.amazon.com/gp/product/B01N1RFZZ4/ref=ppx_yo_dt_b_search_asin_title?ie=UTF8&psc=1) -* [XT90s](https://www.amazon.com/Amass-Connector-Anti-Spark-Battery-Charger/dp/B074PTHZ3M/ref=sr_1_2?crid=374B062FKB4N2&keywords=xt90s&qid=1645583218&sprefix=xt90%2Caps%2C344&sr=8-2) connectors for the battery is recommended to avoid sparking when plugging the battery into the controller. +* [XT90s](https://amzn.to/3BKHLG8) connectors for the battery is recommended to avoid sparking when plugging the battery into the controller. * Stick with the amass branded connectors. * They are rated for 100a. If you have a 300a battery you can just use 3 connectors for example. - * They can use up to [10 gauge silicone wire](https://www.amazon.com/10-Gauge-Silicone-Wire-Feet/dp/B007DMW3IU). Any larger than that is a waste and hard to solder. + * They can use up to [10 gauge silicone wire](https://amzn.to/3vbVEfs). Any larger than that is a waste and hard to solder. * [Bullet connectors](https://www.amazon.com/Generic-5-5mm-Gold-Bullet-Connector/dp/B01MRXLVRD/ref=sr_1_4?keywords=5.5mm+bullet+connector&qid=1645583504&sprefix=5.5mm+bull%2Caps%2C221&sr=8-4) for the motor phase wires. - * See the image below for amp ratings. I use 5.5mm bullets for everything because they do about 100 amps. If I need more amps I just do 1 connector per phase per 100 amps. I basically just match them up with the same number of XT90s connectors I use. ![amp ratings](./images/bullets.jpeg) + * See the image below for amp ratings. I use 5.5mm bullets for everything because they do about 100 amps. If I need more amps I just do 1 connector per phase per 100 amps. I basically just match them up with the same number of [XT90s](https://amzn.to/3BKHLG8) connectors I use. ![amp ratings](./images/bullets.jpeg) * Depending on the controller you get you'll want to replace the phase wires to use bullet connectors so that you don't have to use one of these shit boxes: ![shit boxes](./images/shitBox.jpeg) * The shit boxes are nothing but problems because the plastic melts easily when the nuts come loose. I have seen this many times and it usually does'nt end well and can take your controller down with it. * If your controller has built in phase wire mounts(like the one below) you should be fine to just go with whats built in. ![ok controller mount](./images/kelly.png)