mirror of
https://github.com/elastic/kibana.git
synced 2025-04-21 16:29:04 -04:00
* Add a typescript readme * some clean up * Correct capitalization of typescript and javascript * Incorporate review suggestions
28 lines
No EOL
937 B
Markdown
28 lines
No EOL
937 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)
|
|
- [CSS](style_guides/css_style_guide.md)
|
|
- [SCSS](style_guides/scss_style_guide.md)
|
|
- [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. |