mirror of
https://github.com/elastic/kibana.git
synced 2025-04-20 07:48:52 -04:00
27 lines
No EOL
911 B
Markdown
27 lines
No EOL
911 B
Markdown
# Kibana Style Guide
|
|
|
|
This guide applies to all development within the Kibana project and is
|
|
recommended for the development of all Kibana plugins.
|
|
|
|
- [JavaScript](style_guides/js_style_guide.md)
|
|
- [Angular](style_guides/angular_style_guide.md)
|
|
- [React](style_guides/react_style_guide.md)
|
|
- [SASS](https://elastic.github.io/eui/#/guidelines/sass)
|
|
- [HTML](style_guides/html_style_guide.md)
|
|
- [API](style_guides/api_style_guide.md)
|
|
- [Architecture](style_guides/architecture_style_guide.md)
|
|
- [Accessibility](style_guides/accessibility_guide.md)
|
|
|
|
## Filenames
|
|
|
|
All filenames should use `snake_case`.
|
|
|
|
*Right:*
|
|
- `src/kibana/index_patterns/index_pattern.js`
|
|
|
|
*Wrong:*
|
|
- `src/kibana/IndexPatterns/IndexPattern.js`
|
|
|
|
## 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. |