Update lint definitions for sandboxed files (#1395)

This commit is contained in:
toasted-nutbread 2021-02-14 18:20:35 -05:00 committed by GitHub
parent 48b59375eb
commit d97c84f8ac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -84,8 +84,9 @@
{
"files": [
"ext/js/core.js",
"ext/js/templates/template-renderer.js",
"ext/js/language/dictionary-data-util.js"
"ext/js/data/anki-note-data.js",
"ext/js/language/dictionary-data-util.js",
"ext/js/templates/template-renderer.js"
],
"env": {
"webextensions": false
@ -95,9 +96,9 @@
"files": ["ext/**/*.js"],
"excludedFiles": [
"ext/js/core.js",
"ext/js/templates/template-renderer.js",
"ext/js/data/anki-note-data.js",
"ext/js/language/dictionary-data-util.js"
"ext/js/language/dictionary-data-util.js",
"ext/js/templates/template-renderer.js"
],
"globals": {
"serializeError": "readonly",
@ -123,7 +124,10 @@
"files": ["ext/**/*.js"],
"excludedFiles": [
"ext/js/core.js",
"ext/js/yomichan.js"
"ext/js/yomichan.js",
"ext/js/data/anki-note-data.js",
"ext/js/language/dictionary-data-util.js",
"ext/js/templates/template-renderer.js"
],
"globals": {
"yomichan": "readonly"