Reference the JavaScript or CSS style guides when setting up linting rules for a new front-end project.
Use the HTML and CSS standards as a benchmark when establishing coding conventions for your team.
Integrate FECS (the companion lint tool referenced in the repo) to automatically check code against these specifications.
Study how a large Chinese tech company's front-end team structures E-JSON data transfer and module organization standards.
| ecomfe/spec | microsoft/azurelinux | objectbox/objectbox-java | |
|---|---|---|---|
| Stars | 4,610 | 4,610 | 4,610 |
| Language | — | RPM Spec | Java |
| Setup difficulty | easy | hard | easy |
| Complexity | 1/5 | 4/5 | 2/5 |
| Audience | developer | ops devops | developer |
Figures from each repo's GitHub metadata at analysis time.
All documents are written in Chinese and require no installation, read the markdown files directly in the repository.
This repository is a collection of coding style specifications published by ecomfe, a front-end team at Baidu. The documents are written in Chinese and cover the rules and conventions that developers on the team follow when writing code. The specifications cover JavaScript, including a separate section for modern JavaScript features known as ESNext. There are also guides for HTML, CSS, and Less (a language that extends CSS with additional features). Beyond styling code itself, the collection includes standards for how data should be structured when transferred between systems (E-JSON), how modules and loaders should be organized, how packages should be structured, and how project directories should be laid out. A standard for chart libraries is also included, along with a guide for React, a popular JavaScript framework. Each document is versioned, with some marked as drafts still in progress. The repository also references FECS, a lint and auto-fix tool used to check code against these specifications automatically. This is primarily useful for developers working within or alongside the ecomfe team, or for anyone reading Chinese who wants to see how a large Chinese technology company structures its front-end coding standards. The README is in Chinese, and the linked specification documents are also in Chinese.
A collection of Chinese-language front-end coding style guides from Baidu's ecomfe team, covering JavaScript, HTML, CSS, Less, React, and project structure standards used by one of China's largest tech companies.
Setup difficulty is rated easy, with roughly 5min to a first successful run.
Mainly developer.
This repo across BitVibe Labs
Verify against the repo before relying on details.