Skip to content

Instantly share code, notes, and snippets.

@ne2da
ne2da / package.json
Last active April 23, 2021 08:16
Список локальных зависимостей package.json для линтинга и форматирования кода ESLint + Prettier
{
"name": "ESLint-Prettier dependencies",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"keywords": [],
"author": "",
@ne2da
ne2da / .prettierrc
Created April 23, 2021 08:11
Базовые настройки конфига .prettierrc для Prettier
{
"prettier/prettier": [
"error",
{
"endOfLine": "lf",
"semi": false,
"singleQuote": false,
"tabWidth": 2,
"trailingComma": "es5"
}
@ne2da
ne2da / .eslintrc
Last active April 23, 2021 08:09
Базовые настройки конфига .eslintrc для ESLint в связке с Prettier
{
"extends": ["plugin:react/recommended", "airbnb", "prettier"]
}
@ne2da
ne2da / settings.json
Created April 23, 2021 08:05
Базовые настройки для IDE Visual Studio Code для комфортной web-разработки
{
"editor.linkedEditing": true,
"emmet.triggerExpansionOnTab": true,
"editor.wordWrap": "wordWrapColumn",
"editor.mouseWheelZoom": true,
"editor.fontLigatures": true,
"editor.fontFamily": "'Fira Code', 'Operator Mono', Consolas, 'Courier New', monospace",
"editor.fontSize": 15,
"[html]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"