anything-llm/frontend/.eslintrc.cjs
Timothy Carambat 5a7d8add6f
[Fork] Additions on franzbischoff resolution on #122 (#152)
* 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>
2023-07-20 11:14:23 -07:00

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"
}
}