Skip to content

Instantly share code, notes, and snippets.

View arvinxx's full-sized avatar
💭
Wonder Amazing

Arvin Xu arvinxx

💭
Wonder Amazing
View GitHub Profile

Folder Structure

Motivations

  • Clear feature ownership
  • Module usage predictibility (refactoring, maintainence, you know what's shared, what's not, prevents accidental regressions, avoids huge directories of not-actually-reusable modules, etc)
@arvinxx
arvinxx / git-flow.md
Created February 11, 2018 11:52 — forked from yesmeck/git-flow.md
Git 开发流程

Git 协作流程

master 分支

master 永远处于稳定状态,这个分支代码可以随时用来部署。不允许在该分支直接提交代码。

develop 分支

开发分支,包含了项目最新的功能和代码,所有开发都在 develop 上进行。一般情况下小的修改直接在这个分支上提交代码。

@arvinxx
arvinxx / .eslintrc.js
Last active May 23, 2022 15:28 — forked from rswanderer/.eslintrc-parameter-instruction.js
LIGON - ESLint配置文件.eslintrc.js参数说明
/*
* ESLint的JSON文件是允许JavaScript注释的,但在gist里显示效果不好,所以我把.json文件后缀改为了.js
*/
/*
* ESLint 配置文件优先级:
* .eslintrc.js(输出一个配置对象)
* .eslintrc.yaml
* .eslintrc.yml
* .eslintrc.json(ESLint的JSON文件允许JavaScript风格的注释)