Warning: This page has not been updated in over over a year and may be outdated or deprecated.
development:coding_standards
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
development:coding_standards [2015/12/11 18:45] – ↷ Links adapted because of a move operation demiankatz | development:coding_standards [2016/05/24 13:59] – crhallberg | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Coding Standards ====== | ====== Coding Standards ====== | ||
+ | |||
+ | ===== PHP ===== | ||
VuFind uses the [[http:// | VuFind uses the [[http:// | ||
+ | |||
+ | ===== Javascript ===== | ||
+ | |||
+ | ESLint style enforcement in progress. Will use ESLint recommended with a few extra rules. Join in the conversation on [[https:// | ||
+ | |||
+ | ===== Templates ===== | ||
+ | |||
+ | Style guide forth-coming. | ||
+ | |||
+ | ===== CSS ===== | ||
+ | |||
+ | No strict coding practices enforced, although the [[http:// | ||
+ | |||
+ | ===== Editor Config ===== | ||
+ | < | ||
+ | # editorconfig.org | ||
+ | |||
+ | root = true | ||
+ | |||
+ | [*] | ||
+ | charset = utf-8 | ||
+ | end_of_line = lf | ||
+ | indent_size = 2 | ||
+ | indent_style = space | ||
+ | insert_final_newline = true | ||
+ | trim_trailing_whitespace = true | ||
+ | |||
+ | [*.php] | ||
+ | indent_size = 4 | ||
+ | </ | ||
---- struct data ---- | ---- struct data ---- | ||
---- | ---- | ||
development/coding_standards.txt · Last modified: 2023/03/17 10:43 by demiankatz