Skip to content

Commit

Permalink
chat components added
Browse files Browse the repository at this point in the history
  • Loading branch information
spandan114 committed Oct 12, 2024
1 parent 61ec160 commit 8d5cb79
Show file tree
Hide file tree
Showing 9 changed files with 2,756 additions and 1,630 deletions.
53 changes: 39 additions & 14 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,40 @@
{
"root": true,
"ignorePatterns": ["node_modules", "dist"],
"plugins": ["@typescript-eslint"],
"parser": "@typescript-eslint/parser",
"extends": ["eslint:recommended", "plugin:@typescript-eslint/recommended"],
"parserOptions": {
"ecmaVersion": 2020,
"sourceType": "module",
"project": "./tsconfig.json"
},
"rules": {
"@typescript-eslint/no-unused-vars": "error"
}
}
"root": true,
"ignorePatterns": ["node_modules", "dist"],
"plugins": ["@typescript-eslint", "prettier"],
"parser": "@typescript-eslint/parser",
"extends": [
"eslint:recommended",
"plugin:react/recommended",
"plugin:@typescript-eslint/recommended",
"plugin:prettier/recommended"
],
"parserOptions": {
"ecmaVersion": 2022,
"sourceType": "module",
"project": "./tsconfig.json"
},
"rules": {
"prettier/prettier": ["error", {
"endOfLine": "auto",
"printWidth": 120,
"singleQuote": true,
"tabWidth": 2,
"trailingComma": "all"
}],
"@typescript-eslint/no-unused-vars": "error",
"constructor-super": "off",
"@typescript-eslint/no-empty-function": "error",
"@typescript-eslint/no-inferrable-types": "error",
"react/react-in-jsx-scope": "error",
"react/prop-types": "error",
"react/display-name": "error",
"react/function-component-definition": ["error", {
"namedComponents": "function-declaration",
"unnamedComponents": "function-expression"
}],
"@typescript-eslint/explicit-module-boundary-types": "error",
"@typescript-eslint/no-non-null-assertion": "error",
"@typescript-eslint/no-unnecessary-type-arguments": "error"
}
}
1 change: 1 addition & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ export default tseslint.config(
'warn',
{ allowConstantExport: true },
],
// 'constructor-super': 'off',
},
},
)
Loading

0 comments on commit 8d5cb79

Please sign in to comment.