@xfive/coding-standards
v0.4.6
Published
Setup popular frameworks with Xfive recommended configuration for ESLint, Stylelint, Prettier and others. Our tool provides one command that automatically adjusts your project to help you write clean, readable and maintainable code.
Downloads
40
Readme
Xfive Coding Standards Configuration
Setup popular frameworks with Xfive recommended configuration for ESLint, Stylelint, Prettier and others. Our tool provides one command that automatically adjusts your project to help you write clean, readable and maintainable code.
Setup
Follow the instructions specific to your project.
Validated 2024-03-28 with [email protected]
# create project directory (or clone empty repository) and cd into it first
npx create-next-app@^14 . --ts --eslint --app --use-npm --no-tailwind --no-src-dir --import-alias '~/*'
npx @xfive/coding-standards@latest
Validated 2024-03-28 with [email protected]
We have not tested impact of many of the options available during project creation on our configuration.
Create project with
npm create vue@^3
. Answer questions as follows, for questions not mentioned below answer based on your preferences:√ Add ESLint for code quality? ... Yes √ Add Prettier for code formatting? ... No
Go to created project directory
Create repository and commit initial files
Run
npx @xfive/coding-standards@latest
Validated 2024-03-28 with [email protected]
- Create project directory (or clone empty repository) and cd into it first.
- Create project with
npx nuxi@^3 init .
. - Run
npx @xfive/coding-standards@latest
Validated 2024-03-28 with @angular/[email protected]
- Create project with
npm init '@angular'
. - Go to created project directory
- Add ESLint with
npx @angular/cli@latest add @angular-eslint/schematics
- Run
npx @xfive/coding-standards@latest
Validated 2024-03-28
Run npx @xfive/coding-standards@latest
to adjust project to Xfive coding standards. This will install all required dependencies and add configuration files. We'll do it on best effort basis, so please check if everything is correct.