Style Guide

Javascript / Vue

Vuesora uses a custom ESLint Configuration based off of the eslint-config-airbnb-base package.

You can view Airbnb's Javascript Style Guide to reference the individual rules.

PHPStorm/Webstorm

Code Hinting

If you are using the PHPStorm or WebStorm IDEs, you can turn on the ESLint code hinting by going into:

File -> Settings -> Languages & Frameworks -> Javascript -> Code Quality Tools -> ESLint -> Automatic ESLint Configuration

ESLint Config

You can create a script to automatically format your code to the ESlint Configuration.

Settings -> Tools -> External Tools -> Create New

ESLint Autoformat

CSS/SASS

Coming Soon

Last Updated: 8/1/2019, 9:06:32 PM