1
0
Fork 0

Move eslint ignored files to the exemption system

master
Anton 2024-03-16 11:51:55 +01:00
parent 5173e1c578
commit 65ceb12718
3 changed files with 35 additions and 12 deletions

View File

@ -1,11 +1,6 @@
apps/animclk/V29.LBM.js
apps/banglerun/rollup.config.js
apps/schoolCalendar/fullcalendar/main.js
apps/authentiwatch/qr_packed.js
apps/qrcode/qr-scanner.umd.min.js
apps/gipy/pkg/gps.js
apps/health/chart.min.js
*.test.js
# typescript/generated files # Needs to be ignored because it uses ESM export/import
apps/btadv/*.js apps/gipy/pkg/gps.js
# Needs to be ignored because it includes broken JS
apps/health/chart.min.js

View File

@ -1483,5 +1483,35 @@ module.exports = {
"rules": [ "rules": [
"no-undef" "no-undef"
] ]
},
"animclk/V29.LBM.js": {
"hash": "fe32a40d1c2df6080ffefb2f1b38125eb8f81b903267a08a2865ca7b21d33a27",
"rules": [
"no-undef"
]
},
"authentiwatch/qr_packed.js": {
"hash": "0a7c15fc47973ceb47c1bae99471ef9f208569bfd46b361c7d130cf0ec35dcce",
"rules": [
"no-undef",
"no-unused-vars",
"no-cond-assign",
"no-useless-catch"
]
},
"qrcode/qr-scanner.umd.min.js": {
"hash": "f4c10bc0c41322e7b588619e03a736ff85fad851ac4f104449c743a0f36735a4",
"rules": [
"no-undef",
"no-cond-assign"
]
},
"schoolCalendar/fullcalendar/main.js": {
"hash": "04dcd3cb3025c7aa67631d287b025a897b1cd984b8ea306abae2d722976fb7c5",
"rules": [
"no-undef",
"no-unused-vars",
"no-cond-assign"
]
} }
}; };

View File

@ -20,7 +20,6 @@ var FullCalendar = (function (exports) {
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE. PERFORMANCE OF THIS SOFTWARE.
***************************************************************************** */ ***************************************************************************** */
/* global Reflect, Promise */
var extendStatics = function(d, b) { var extendStatics = function(d, b) {
extendStatics = Object.setPrototypeOf || extendStatics = Object.setPrototypeOf ||
@ -7312,7 +7311,6 @@ var FullCalendar = (function (exports) {
var _this = _super.call(this, props) || this; var _this = _super.call(this, props) || this;
_this.handleData = function (data) { _this.handleData = function (data) {
if (!_this.dataManager) { // still within initial run, before assignment in constructor if (!_this.dataManager) { // still within initial run, before assignment in constructor
// eslint-disable-next-line react/no-direct-mutation-state
_this.state = data; // can't use setState yet _this.state = data; // can't use setState yet
} }
else { else {