Socket
Book a DemoInstallSign in
Socket

@my-lava/config

Package Overview
Dependencies
Maintainers
0
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@my-lava/config

## Быстрый старт

latest
npmnpm
Version
0.0.11
Version published
Maintainers
0
Created
Source

Конфиги для проектов Gamesboost42

Быстрый старт

Установите все необходимые зависимости если они не были ранее установлены

npm i -D @typescript-eslint/eslint-plugin @typescript-eslint/parser eslint eslint-config-airbnb eslint-config-prettier eslint-plugin-import eslint-plugin-jsx-a11y eslint-plugin-prettier eslint-plugin-react eslint-plugin-react-hooks postcss stylelint stylelint-config-prettier-scss stylelint-config-sass-guidelines stylelint-config-standard-scss stylelint-config-idiomatic-css typescript

Установка конфигов eslint

Создать файл .eslintrc.js и добавить в него:


module.exports = {
  extends: ['@my-lava/config/eslint-config'],
};

Установка конфигов prettier

Создать файл .prettierrc.js и добавить в него:


module.exports = require("@my-lava/config/prettier.config");

Установка конфигов stylelint

Создать файл stylelint.config.js и добавить в него:


module.exports = {
  extends: ['@my-lava/config/eslint-config/stylelint.config'],
};

Публикация проекта

  • Сперва необходимо обновить версию, если ранее этого не было сделано. Нужно выбрать какие были изменения - patch, minor, major.
npm version patch
  • Опубликовать проект.
npm publish

FAQs

Package last updated on 20 Feb 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts