Skip to content

Latest commit

 

History

History
executable file
·
62 lines (42 loc) · 2.92 KB

Developer_Tools.md

File metadata and controls

executable file
·
62 lines (42 loc) · 2.92 KB

Developer Tools

Some helpful info on editor plugins that will make working on this repo easier.

VSCode

Command Shift P - to install extensions manually

Search the name (ex. octref.vetur or shinn.stylelint) into the Extensions area to install within VSCode

Install all extensions via the command line

First requires that VSCode is in your PATH variable. From VSCode Command Palette (⇧⌘P) execute command "Shell Command: Install 'code' command in PATH"

code --install-extension octref.vetur && code --install-extension Vue.volar && code --install-extension EditorConfig.EditorConfig && code --install-extension dbaeumer.vscode-eslint && code --install-extension stylelint.vscode-stylelint && code --install-extension sdras.vue-vscode-snippets && code --install-extension GraphQL.vscode-graphql && code --install-extension bradlc.vscode-tailwindcss

VSCode Setup for Eslint

Workspace Settings

Generate the .vscode folder with a settings.json inside and apply your workspace settings in that file (.vscode is already in our .gitignore file)

Basic ESLint integration

Should be enabled by default

ESLint auto fix

If you would like ESLint to automatically fix auto-fixable errors when you save a file

{
    /* Other workspace settings...  */
    "editor.formatOnSave": false,
    "editor.codeActionsOnSave": {
        "source.fixAll": true,
        "source.fixAll.eslint": true,
        "source.fixAll.tslint": true,
        "source.fixAll.stylelint": true
    }
}

PHPStorm

SCSS Style Linting

Chrome : Extensions