diff --git a/.eslintrc.json b/.eslintrc.json index f23efa8..d261713 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -1,22 +1,14 @@ { - "env": { - "browser": true, - "es2021": true - }, - "extends": [ - "eslint:recommended", - "plugin:@typescript-eslint/recommended", - "plugin:solid/typescript" - ], - "parser": "@typescript-eslint/parser", - "parserOptions": { - "ecmaVersion": "latest", - "sourceType": "module" - }, - "plugins": [ - "@typescript-eslint", - "solid" - ], - "rules": { - } + "env": { + "browser": true, + "es2021": true + }, + "extends": ["eslint:recommended", "plugin:@typescript-eslint/recommended", "plugin:solid/typescript"], + "parser": "@typescript-eslint/parser", + "parserOptions": { + "ecmaVersion": "latest", + "sourceType": "module" + }, + "plugins": ["@typescript-eslint", "solid"], + "rules": {} } diff --git a/package.json b/package.json index fa15079..5e1c9ef 100644 --- a/package.json +++ b/package.json @@ -13,7 +13,8 @@ "dev": "astro dev --host", "start": "astro dev", "build": "astro build", - "preview": "astro preview --host" + "preview": "astro preview --host", + "format": "prettier --write \"**/*.{js,jsx,ts,tsx,json}\"" }, "devDependencies": { "@astrojs/solid-js": "^0.4.1", diff --git a/src/config.ts b/src/config.ts index 3710d80..4e46ed2 100644 --- a/src/config.ts +++ b/src/config.ts @@ -20,8 +20,7 @@ export const SITE_METADATA = { icon: 'nodejs', name: 'yarkov.tech', year: '2022', - description: - 'Мой персональный веб-сайт где находятся информация обо мне и список различных статей, туториалов...', + description: 'Мой персональный веб-сайт где находятся информация обо мне и список различных статей, туториалов...', sourceUrl: 'https://github.com/sergeyyarkov/yarkov.tech', demoUrl: 'https://yarkov.tech', articleUrl: undefined, @@ -30,8 +29,7 @@ export const SITE_METADATA = { icon: 'triangle_filled', name: 'devthread', year: '2021', - description: - 'Статический веб-сайт для публикации различных статей, разработанный при помощи Gatsby.js и NetlifyCMS', + description: 'Статический веб-сайт для публикации различных статей, разработанный при помощи Gatsby.js и NetlifyCMS', sourceUrl: 'https://github.com/sergeyyarkov/devthread.ru', demoUrl: 'https://devthread.netlify.app', articleUrl: undefined,