mirror of https://github.com/FriendsOfTYPO3/tea.git synced 2024-11-09 23:56:14 +01:00
tea/.eslintrc.json
Mathias Bolt Lesniak 4be4507568
[TASK] Improved ESLint config for Backend JavaScript (#476)
With this configuration, ESLint will no longer complain about the `TYPO3` and `$` global, `define()` calls, etc. It will also allow the use of `const`.

Resolves: #475
2022-07-08 12:43:19 +02:00

20 lines
271 B
JSON

{
"root": true,
"extends": [
"eslint:recommended",
"plugin:prettier/recommended"
],
"env": {
"browser": true,
"node": true,
"es6": true,
"amd": true,
"jquery": true
},
"globals": {
"TYPO3": "readonly"
},
"parserOptions": {
"ecmaVersion": 8
}
}