Skip to content
View walborn's full-sized avatar
Block or Report

Block or report walborn

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Please don't include any personal information such as legal names or email addresses. Maximum 100 characters, markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
walborn/README.md

resume

Интерфейс для резюме. Сейчас есть только один шаблон, который можно только вручную менять под себя

Installatin

We use yarn cos it is faster and nicer than npm

> yarn && yarn dev

Eslint

Fix eslint errors in all files src/*

> npx eslint --fix src

TypeScript

> tsc --noEmit

Commiting

make commit messages great again!

If you don't have, install commitizen globally

> npm install --global commitizen

Then you can use this command to create a new commit

> git add .
> git cz

Style Guide

Action functions, that passed to onClick, onSubmit and so on, should starts from handle word. For example handleClick, handleSubmit.

function HomePage() {
  //    ...
  function handleClick() {
    console.log('increment like count')
  }

  return (
    <div>
      {/* ... */}
      <button onClick={handleClick}>Like</button>
    </div>
  )
}

Imports Order

  1. import React from 'react'
  2. others external libs
  3. models
  4. hooks
  5. components
  6. styles (import styles from './index.module.scss')
  • Использую только нативные методы
    • Intl вместо moment, date-fns, dayjs и тд
    • Не использую lodash
    • Минимум зависимостей

Popular repositories Loading

  1. with-dark-theme with-dark-theme Public

    This example demonstrates how to add dark theme to your react project

    JavaScript 7

  2. shrihw0nodejs shrihw0nodejs Public

    Home work about NodeJS. Service for changing image background.

    JavaScript 1

  3. shrihwasync shrihwasync Public

    JavaScript 1

  4. yoganext yoganext Public

    JavaScript

  5. mern mern Public

    JavaScript

  6. backend backend Public

    JavaScript