Commit 0834b50f authored by AlexandrValgamov's avatar AlexandrValgamov
Browse files

Widget | feat: add docs

parent 9967b3da
Loading
Loading
Loading
Loading

.env

0 → 100644
+2 −0
Original line number Diff line number Diff line
PUBLIC_URL = 'http://localhost:5173'
API_URL = 'http://localhost:3001/api/'

.env.example

0 → 100644
+2 −0
Original line number Diff line number Diff line
PUBLIC_URL = 'http://localhost:PORT'
API_URL = 'http://localhost:PORT/api/'
 No newline at end of file
+10 −11
Original line number Diff line number Diff line
@@ -8,15 +8,15 @@
  // EXTENDS
  //
  "extends": [
    "next/core-web-vitals",
    "airbnb",
    "airbnb/hooks",
    "plugin:react/recommended",
    "plugin:react-hooks/recommended",
    "plugin:jsx-a11y/recommended",
    "plugin:react-hooks/recommended",
    "plugin:react/recommended",
    "plugin:@typescript-eslint/recommended",
    "eslint:recommended",
    "next"
    "next/core-web-vitals",
    "plugin:prettier/recommended"
  ],
  //
  // PLUGINS
@@ -26,7 +26,6 @@
    "react-hooks",
    "jsx-a11y",
    "@typescript-eslint/eslint-plugin"
    // "prettier"
  ],
  //
  // PARSER
@@ -90,7 +89,7 @@
    // https://eslint.org/docs/latest/rules/no-underscore-dangle
    "no-underscore-dangle": 0,
    // https://eslint.org/docs/latest/rules/quotes
    "quotes": [1, "single"],
    "quotes": [1, "single", { "avoidEscape": true }],
    // https://eslint.org/docs/latest/rules/jsx-quotes
    "jsx-quotes": [1, "prefer-double"],
    // https://eslint.org/docs/latest/rules/comma-dangle
@@ -139,7 +138,7 @@
    ],
    // https://eslint.org/docs/latest/rules/object-curly-newline
    "object-curly-newline": [
      1,
      0,
      {
        "ObjectExpression": {
          "minProperties": 4,
@@ -205,7 +204,7 @@
    "import/newline-after-import": [
      1,
      {
        "count": 2
        "count": 1
      }
    ],
    // https://github.com/import-js/eslint-plugin-import/blob/main/docs/rules/max-dependencies.md
@@ -293,7 +292,7 @@
    ],
    // https://github.com/jsx-eslint/eslint-plugin-react/blob/master/docs/rules/jsx-indent.md
    "react/jsx-indent": [
      1,
      0,
      2,
      {
        "checkAttributes": true,
@@ -330,7 +329,7 @@
    ],
    // https://github.com/jsx-eslint/eslint-plugin-react/blob/master/docs/rules/jsx-curly-spacing.md
    "react/jsx-curly-spacing": [
      1,
      0,
      {
        "allowMultiline": false,
        "children": {
@@ -339,7 +338,7 @@
        "spacing": {
          "objectLiterals": "never"
        },
        "when": "always"
        "when": "never"
      }
    ],
    // https://typescript-eslint.io/rules/adjacent-overload-signatures/

.prettierignore

0 → 100644
+6 −0
Original line number Diff line number Diff line
# Ignore artifacts:
build
coverage

# Ignore all HTML files:
**/*.html
 No newline at end of file

.prettierrc

0 → 100644
+12 −0
Original line number Diff line number Diff line
{
    "semi": true,
    "trailingComma": "all",
    "singleQuote": true,
    "tabWidth": 2,
    "useTabs": false,
    "bracketSpacing": true,
    "bracketSameLine": false,
    "jsxSingleQuote": false,
    "endOfLine": "lf"
  }
  
 No newline at end of file
Loading