From c99f96ea338e3db30cb744ba92ab89b366c066e8 Mon Sep 17 00:00:00 2001 From: Lev Chelyadinov Date: Sun, 3 Dec 2023 11:08:54 +0100 Subject: [PATCH] Fix formatting --- .eslintrc.yaml | 4 ++-- README.md | 19 ++++++++++++------- 2 files changed, 14 insertions(+), 9 deletions(-) diff --git a/.eslintrc.yaml b/.eslintrc.yaml index 36d601b..11bd9dc 100644 --- a/.eslintrc.yaml +++ b/.eslintrc.yaml @@ -5,10 +5,10 @@ extends: - eslint:recommended - plugin:@typescript-eslint/recommended - prettier -parser: '@typescript-eslint/parser' +parser: "@typescript-eslint/parser" parserOptions: ecmaVersion: latest sourceType: module plugins: - - '@typescript-eslint' + - "@typescript-eslint" rules: {} diff --git a/README.md b/README.md index e838167..dc020a8 100644 --- a/README.md +++ b/README.md @@ -30,32 +30,37 @@ If you have more than two slices in your project already, the CLI will know wher
Other examples -* Generate the Shared layer with a `ui` segment and an index file in the `src/` folder: +- Generate the Shared layer with a `ui` segment and an index file in the `src/` folder: + ```bash fsd shared ui -r src ``` -* Generate the Entities layer with slices `user` and `city`, each with an `api` segment: +- Generate the Entities layer with slices `user` and `city`, each with an `api` segment: + ```bash fsd e user city -s api ``` -* Generate the Features layer with an `auth` slice containing segments `api` and `model`: +- Generate the Features layer with an `auth` slice containing segments `api` and `model`: + ```bash fsd feature auth -s api,model ``` -* Generate the Widgets layer with an index file in the ../fsd/ folder: +- Generate the Widgets layer with an index file in the ../fsd/ folder: + ```bash fsd widgets header --root ../fsd/ ``` -* Generate the Pages layer with slices home and about, each with an ui segment +- Generate the Pages layer with slices home and about, each with an ui segment + ```bash fsd pages home,about -s ui ``` -* Generate the App layer: +- Generate the App layer: ``` fsd app ``` @@ -64,7 +69,7 @@ If you have more than two slices in your project already, the CLI will know wher ## Credits -Big thanks to a community member [Agent_RBY_](https://github.com/AgentRBY) for implementing most of the generating and detecting logic. +Big thanks to a community member [`Agent_RBY_`](https://github.com/AgentRBY) for implementing most of the generating and detecting logic. ## License