{"repo":"Ortus-Solutions/coding-standards","free":true,"listed":false,"github":"https://github.com/Ortus-Solutions/coding-standards","clone":"git clone https://github.com/Ortus-Solutions/coding-standards.git","description":"A collection of the official Ortus Solutions coding standards :rocket:","language":null,"stars":81,"topics":["cfml","java","database","coding","standards","mvc","javascript"],"license":null,"category":"databases-storage","readme_excerpt":"Ortus Coding Style Guides This repository includes all of the Ortus coding style guides, linter and formatting configurations. Read, collaborate and enjoy. Guides ColdFusion CSS-SASS Database JavaScript Security Linters CFlint - Leverages the cflint project ( box install commandbox-cflint ) CFlint ColdBox Handlers - Specific linting of ColdBox Handlers Editorconfig - Leverages the EditorConfig Plugins for your IDE ESLint - ESLinting of JavaScript and Vue files. JSBeautify JSHint SASS Formatters ColdFusion - CFFormat ColdFusion - Sublime Java - Eclipse/VSCode IDE Automatic Coding Standards We also provide ways to apply our formatting rules automatically via modern IDEs. CommandBox Formatting Start off by installing the cfformat CommandBox package: box install commandbox-cfformat . Then in the root of your application if you have a box.json open it. If you don't, then initialize your application as a CommandBox package: box init . Then open the file and look for a scripts section, if you don't have one, then add it. We will create three scripts to format your source code: format : Format all the files/directories you want format:watch : Start a watcher for all the files/directories you want and if a save is detected, automatically format the changed files. format:check : Verifies if the watched files/directories adhere to your style guides. Then you can run a watcher: box run-script format:watch and everytime you save a change in the files being watched, the formatter will auto","default_branch":null,"files":null,"tree":[],"storefront":"/r/Ortus-Solutions","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Ortus-Solutions/coding-standards/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}