Browse Source

chore(linting): added instructions for local IDE extensions

Signed-off-by: Jonathan <theflametrooper@gmail.com>
Jonathan 4 năm trước cách đây
mục cha
commit
19606e0e7b
2 tập tin đã thay đổi với 7 bổ sung1 xóa
  1. 6 0
      README.md
  2. 1 1
      frontend/yarn.lock

+ 6 - 0
README.md

@@ -137,6 +137,12 @@ The configurable ports will be how you access the services on your machine, or w
 
    - Docker ToolBox: The output of `docker-machine ip default`
 
+If you are using linting extensions in IDEs/want to run `yarn lint`, you need to install the following locally (outside of Docker):
+```
+yarn global add eslint
+yarn add eslint-config-airbnb-base
+```
+
 ### Standard Installation
 
 Steps 1-4 are things you only have to do once. The steps to start servers follow.

+ 1 - 1
frontend/yarn.lock

@@ -2757,7 +2757,7 @@ escodegen@1.x.x:
   optionalDependencies:
     source-map "~0.6.1"
 
-eslint-config-airbnb-base@13.2.0:
+eslint-config-airbnb-base@^13.2.0:
   version "13.2.0"
   resolved "https://registry.yarnpkg.com/eslint-config-airbnb-base/-/eslint-config-airbnb-base-13.2.0.tgz#f6ea81459ff4dec2dda200c35f1d8f7419d57943"
   integrity sha512-1mg/7eoB4AUeB0X1c/ho4vb2gYkNH8Trr/EgCT/aGmKhhG+F6vF5s8+iRBlWAzFIAphxIdp3YfEKgEl0f9Xg+w==