jasper
e979cc8b76
Current styleguide conventions with modern JS ( #8928 )
...
Backports PR #7435
**Commit 1:**
Current styleguide conventions with modern JS
The existing styleguide was in great need of a rewrite as it did not
reflect the conventions we're using in the codebase or even the best
practices that we follow. In some cases, the guidance it provided was
outright contrary to our current practices.
* Original sha: 13e501bcf9
* Authored by Court Ewing <court@epixa.com> on 2016-06-12T14:03:13Z
2016-11-01 21:23:53 -04:00
CJ Cenizal
2ccff35b95
Make links in STYLEGUIDE relative.
2016-06-09 19:03:19 -07:00
CJ Cenizal
9d8776b199
Add style_guides dir, extracted sections from STYLEGUIDE.md.
...
- css_style_guidee.md
- js_style_guide.md
- html_style_guide.md
- api_style_guide.md
2016-06-09 08:13:35 -07:00
Emily Wenberg
20b3a864e9
Fix typos in style guide
2016-02-20 14:30:37 -08:00
spalger
9f2e32e5e1
[ui/modules/docs] moved recommendations to the styleguide
2015-12-18 11:20:20 -07:00
spalger
330061df3a
[styleguide] added api and filename sections
2015-11-23 13:16:26 -06:00
spalger
ad3208a42a
added promise example to the "Chaining operations" section of the styleguide
2015-10-29 13:36:23 -05:00
Jim Unger
42bf6dab8e
Update STYLEGUIDE.md
2015-08-31 14:31:55 -05:00
spalger
f9f4b0e2c6
Merge branch 'master' of github.com:elastic/kibana into apps/home
2015-07-27 10:57:01 -07:00
Jim Unger
5bd342ab1b
Update STYLEGUIDE.md
2015-07-27 09:23:23 -05:00
spalger
a2281749a3
commit to the ui/ module prefix
2015-07-21 17:46:13 -07:00
Spencer Alger
6331a24a70
[lodash-mixins] switch _(Class).inherits(Super) to new _.class mixin
2015-06-11 18:26:43 -07:00
Eike Herzbach
5cb6eddee8
typo: Javascript -> JavaScript
2014-10-23 08:43:53 +02:00
Joe Fleming
a9b01376e2
add note about commenting out code
2014-09-17 12:53:06 -07:00
Joe Fleming
3cc4a4d500
added rules about chained operations and indentation
2014-09-17 12:33:59 -07:00
Joe Fleming
eee468d2e1
added section for module names/paths
2014-09-17 10:51:13 -07:00
Joe Fleming
c41359bb23
remove angular and ruby sections for now
2014-09-17 10:51:13 -07:00
Joe Fleming
b2b1c140d6
add notes about magic numbers, globals and function definitions
2014-09-17 10:51:13 -07:00
Joe Fleming
8fa76196f5
started the angular section and added some other style considerations to the JS section
2014-09-17 10:51:13 -07:00
Joe Fleming
6230456e6d
added style guide, based on node style guide
2014-09-17 10:51:13 -07:00