Create Github issue with Github Todo
VSCode ESLint doesn't respect root: true
, but includes uses it's own implementation of ESLint working directories.
So we need to specify path using __dirname
for tsconfigRootDir
- Run
yarn docker
in this repo to start Verdaccio proxy server - Publish in
nx
repo
nx build [repo]
innx
repo- Yarn link to this repo for usage
Similar to this https://bradfrost.com/blog/post/atomic-web-design/#molecules, we use our own hierarchy.
An instance of a template
A re-useable context for data binding, has all UI in place.
A distinct building block like sidebar, header, footer etc.
Collection of components like a search bar (composed of button + input)
Smallest UI part, button etc.
Using tsconfig paths require https://www.npmjs.com/package/eslint-import-resolver-typescript
Using package resolution requires https://github.com/typescript-eslint/typescript-eslint/tree/master/packages/parser
We add tsconfig.eslint.json
that includes all files for linting only. eslintrc.js
has 2 config that each package needs to create, 1 for import/no-resolved
, the other for resolving tsconfig project location.