# alibaba/f2e-spec

Alibaba Front-end Coding Guidelines and Relevant Tools

Repository: https://github.com/alibaba/f2e-spec
Canonical: https://ross.abutalabs.com/products/f2e-spec
Homepage: https://alibaba.github.io/f2e-spec/
Language: TypeScript
License: MPL-2.0
License Family: copyleft
Topics: linter, guidelines, specification
Last push: 2026-05-06T09:43:40+00:00

## Health v2 (maintenance only)
Score: 83/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 81, release rhythm 77, longevity 100
- inputs: {"age_days": 2107, "days_push": 119, "days_rel": 154, "gap_med": 0, "n_releases_24m": 24}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1127, forks 215 (observed 2026-08-28T04:03:41.403864+00:00)

## What it is
Alibaba's front-end coding and engineering specification, consisting of guideline documents for JavaScript, TypeScript, React, Node.js, CSS, HTML, and Git, plus companion linter rule packages. It ships F2ELint, an npm CLI that bundles ESLint, stylelint, commitlint, and markdownlint configs for one-command adoption.

## Use cases
- enforce a consistent javascript style guide across a team
- set up eslint rules for typescript and react projects
- lint css and html according to a company standard
- enforce conventional commit messages with commitlint
- add lint checks to git commits as a pre-commit gate
- standardize frontend engineering practices in a large codebase

## When to choose
- your team wants a battle-tested, opinionated frontend style guide with ready-made linter configs
- you want a single CLI to wire up eslint, stylelint, commitlint, and markdownlint at once
- you need Chinese-language coding guidelines for frontend teams

## When to avoid
- you need fully custom lint rules rather than an opinionated preset
- your stack is not JavaScript/TypeScript frontend or Node.js
- you prefer minimal dependencies and want to configure ESLint yourself

## Facets
- artifact type: learning-resource
- maturity: active
- function: linter, formatter, developer-tools, documentation
- domain: frontend, web-development, developer-tools, documentation
- platform: cross-platform, cli
- tags: coding-guidelines, style-guide, eslint-config, stylelint-config, commitlint, code-quality, alibaba, nodejs

## Member repositories
- alibaba/f2e-spec (main) score 83

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:41.403864+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:38:46.599993+00:00, confidence not recorded.
  - readme: https://github.com/alibaba/f2e-spec (fetched 2026-08-28T04:03:41.403864+00:00, sha 439f85c672d7)
  - homepage: https://alibaba.github.io/f2e-spec/ (fetched 2026-08-29T12:43:29.529388+00:00, sha d7099b15550d)
- Data as of 2026-08-30T08:39:29.467469+00:00.
