Skip to content

Latest commit

 

History

History
27 lines (19 loc) · 911 Bytes

STYLEGUIDE.md

File metadata and controls

27 lines (19 loc) · 911 Bytes

Kibana Style Guide

This guide applies to all development within the Kibana project and is recommended for the development of all Kibana plugins.

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 for help with this process.