Skip to content
This repository has been archived by the owner on Jan 13, 2021. It is now read-only.

An ESLint config for Marcus

License

Notifications You must be signed in to change notification settings

sastauna/eslint-config-j1ng3r

Repository files navigation

eslint-config-j1ng3r

An ESLint config made by me for Marcus.

Warnings are suggestions. Errors should always be followed. This repository is not published on npm (yet).

Installation

Download .eslintrc.js

Then stick it into whatever folder that your code is in

Open cmd or powershell and npm i -D eslint

Open Visual Studio Code and add the directory to the workspace

Make sure that "ESLint" by "Dirk Baeumer" or similar is installed

Does your code look like this? It's probably too clean.

Press Ctrl+Shift+P to bring up the command pallet. Type in eslint fix or similar

Well, that "helped". Unfortunately there aren't any built in rules to disable spaces on infix operators like =

You'll have to delete the spaces yourself.