2016-11-02 02:22:59 +01:00
# Kibana Style Guide
This guide applies to all development within the Kibana project and is
recommended for the development of all Kibana plugins.
2014-09-15 23:23:48 +02:00
2016-06-10 04:03:19 +02:00
- [JavaScript ](style_guides/js_style_guide.md )
2016-11-02 02:22:59 +01:00
- [Angular ](style_guides/angular_style_guide.md )
2017-06-15 16:42:35 +02:00
- [React ](style_guides/react_style_guide.md )
2018-12-18 20:39:38 +01:00
- [SASS ](https://elastic.github.io/eui/#/guidelines/sass )
2016-06-10 04:03:19 +02:00
- [HTML ](style_guides/html_style_guide.md )
- [API ](style_guides/api_style_guide.md )
2017-04-19 15:19:26 +02:00
- [Architecture ](style_guides/architecture_style_guide.md )
2017-11-02 12:28:22 +01:00
- [Accessibility ](style_guides/accessibility_guide.md )
2014-09-15 23:23:48 +02:00
2015-11-23 20:00:32 +01:00
## Filenames
2014-09-16 01:06:26 +02:00
2016-11-02 02:22:59 +01:00
All filenames should use `snake_case` .
2014-09-16 01:06:26 +02:00
*Right:*
2015-11-23 20:00:32 +01:00
- `src/kibana/index_patterns/index_pattern.js`
2014-09-16 01:06:26 +02:00
*Wrong:*
2015-11-23 20:00:32 +01:00
- `src/kibana/IndexPatterns/IndexPattern.js`
2018-10-17 14:10:48 +02:00
## TypeScript vs JavaScript
Whenever possible, write code in TypeScript instead of javascript, especially if it's new code. Check out [TYPESCRIPT.md ](TYPESCRIPT.md ) for help with this process.