mirror of
https://github.com/Mintplex-Labs/anything-llm.git
synced 2024-11-05 06:20:10 +01:00
5a7d8add6f
* Related to Issue #122, Implemented custom prompt in workspace settings. * run linter * Remove code duplication for chat prompt injection --------- Co-authored-by: Francisco Bischoff <franzbischoff@gmail.com>
21 lines
594 B
JavaScript
21 lines
594 B
JavaScript
module.exports = {
|
|
"env": { "browser": true, "es2020": true },
|
|
"extends": [
|
|
"eslint:recommended",
|
|
"plugin:react/recommended",
|
|
"plugin:react/jsx-runtime",
|
|
"plugin:react-hooks/recommended"
|
|
],
|
|
"files": ["**/*.js", "**/*.jsx"],
|
|
"linterOptions": { "reportUnusedDisableDirectives": true },
|
|
"parserOptions": { "ecmaVersion": "latest", "sourceType": "module", "ecmaFeatures": { "jsx": true } },
|
|
"settings": { "react": { "version": '18.2' } },
|
|
"plugins": [
|
|
"react-refresh",
|
|
"react-hooks"
|
|
],
|
|
"rules": {
|
|
"react-refresh/only-export-components": "warn"
|
|
}
|
|
}
|