Commit graph

9 commits

Author SHA1 Message Date
Clint Andrew Hall 795ee7e5d8
Update js_style_guide.md
We need to explicitly rule out using double-quotes to escape single quotes.  Consider looking into our lint/prettier ruleset for enforcement.
2018-10-25 16:27:36 -05:00
CJ Cenizal 1a65b3577a
Update JS style guide with rule for prefixing private class methods with an underscore. (#20851) 2018-07-17 08:44:51 -07:00
Tim Roes cb5ee01c6a
Increase prettier line width to 100 (#20535)
* Increase prettier line width to 100

* Fix packages JS prettier

* Change style guide to 100 width

* Fix line-width in latest master changes
2018-07-09 22:50:37 +02:00
Josh Soref 2b27fb1c5f Fix misspellings (#19981) 2018-06-26 20:17:41 -07:00
Kim Joar Bekkelund e58b43f744
Prettier + ESLint setup (#16514)
* Move .eslintrc (yaml) to .eslintrc.js (js)

* Add Prettier setup to ESLint

* Run Prettier on @kbn/build

* Update style guide with Prettier
2018-02-05 18:18:43 +01:00
Stacey Gammon fc25df18f6 Fix link syntax 2017-01-12 13:30:04 -05:00
Stacey Gammon 7ead88eb09 Update style guide for named exports
Add new 'named exports' only rule: https://github.com/elastic/kibana/issues/8641
2017-01-12 13:29:04 -05:00
Court Ewing 7dae7bde27 Current styleguide conventions with modern JS (#7435)
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.
2016-11-01 21:22:59 -04: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