kata-ai / development-standard Goto Github PK
View Code? Open in Web Editor NEWKata Platform Development Standard.
License: Other
Kata Platform Development Standard.
License: Other
We need to ensure our development tooling keeps in track with the current practices. TSLint is already deprecated. Therefore, we will need to port the configs for our development standard to its ESLint counterpart.
Moreover, to prevent the headache of formatting code, we should standardise using Prettier, which is supported on many editors, and is runnable during commit time with tools like lint-staged.
This RFC serves as a baseline for proper linting + formatting within all JavaScript/TypeScript codebase within Kata.ai, to ensure all JavaScript/TypeScript codes align to the Development Standard.
In future RFCs, we may also tinker around with tools like lint-staged
for automatically running Prettier on commit time.
For projects within Kata.ai that are about to be sunset, this change need not applied.
We need to factor in maintenance costs in applying the new ESLint config. In many cases, most of the code formatting issues can be solved by Prettier implementation. In addition, since the ESLint config as it stands is an extension of Airbnb config, any linting rules that didn't align to our Standard shall be fixed and published to npm.
The new ESLint config has already been developed alongside Aksara UI, and we use that project, as well as other frontend projects within Kata.ai, to dogfood the ESLint config's implementation.
The ESLint config will live in https://github.com/kata-ai/eslint-config-kata. Further changes to the ESLint config shall go through another RFC process in the Development Standard.
Create a RFC process using the development tools we use (e.g. GitHub Issue templates). Anyone in Kata.ai team can propose changes to this development styleguide, and the Core team approves them.
The development standard needs to be a living document, and changes made to it needs to be agreed upon by all members. Therefore, an RFC process needs to be created to introduce a process to make changes to this styleguide.
N/A
N/A
The PR description here outlines the rough template that we can use for the RFC. We can change this throughout the lifetime of this PR when necessary.
We can implement this using GitHub's Issue templates (.github/ISSUE_TEMPLATE/rfc.md
). I don't know if Gitlab has a similar system.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.