Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"env": {
"browser": true,
"jquery": true,
"es6": true,
"es2021": true
},
"globals": {
"PF": "readonly",
"PrimeFaces": "readonly",
"jsf": "readonly",
"faces": "readonly",
"mojarra": "readonly"

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We don't use Mojarra as JSF implementation, but rather MyFaces, so why do we need to define "mojarra" as a global here? Does it occur somewhere in the code?

},
"rules": {
"no-undef": "error"

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We have to keep an eye on this, because there may be other false positives apart from "PF" etc. when marking supposedly undefined symbols.

}
}
Loading