RefugeRestrooms / refugerestrooms

REFUGE restrooms indexes and maps safe restroom locations for trans, intersex, and gender nonconforming individuals.
http://www.refugerestrooms.org
GNU Affero General Public License v3.0
894 stars 261 forks source link

Exclude third party files from code climate #492

Closed stardust66 closed 6 years ago

stardust66 commented 6 years ago

Most of the Code Climate issues are actually in third party libraries. We should exclude the public/api/docs/lib directory in the Code Climate settings.

https://docs.codeclimate.com/docs/configuring-your-analysis#section-exclude-patterns

tkwidmer commented 6 years ago

Done as of Monday, September 24th.

DeeDeeG commented 6 years ago

As @tkwidmer mentioned in Slack, we might want to also consider installing swagger-ui as a proper node package.

Our public/api directory is mostly (entirely?) a copy of the swagger-ui project from the 2.0 series: https://github.com/swagger-api/swagger-ui/tree/2.x/dist

I suspect we could install (the 2.0 version?) of the nodejs package and then update as needed.