Update lint definitions for sandboxed files (#1395)
This commit is contained in:
parent
48b59375eb
commit
d97c84f8ac
@ -84,8 +84,9 @@
|
|||||||
{
|
{
|
||||||
"files": [
|
"files": [
|
||||||
"ext/js/core.js",
|
"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"
|
||||||
],
|
],
|
||||||
"env": {
|
"env": {
|
||||||
"webextensions": false
|
"webextensions": false
|
||||||
@ -95,9 +96,9 @@
|
|||||||
"files": ["ext/**/*.js"],
|
"files": ["ext/**/*.js"],
|
||||||
"excludedFiles": [
|
"excludedFiles": [
|
||||||
"ext/js/core.js",
|
"ext/js/core.js",
|
||||||
"ext/js/templates/template-renderer.js",
|
|
||||||
"ext/js/data/anki-note-data.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": {
|
"globals": {
|
||||||
"serializeError": "readonly",
|
"serializeError": "readonly",
|
||||||
@ -123,7 +124,10 @@
|
|||||||
"files": ["ext/**/*.js"],
|
"files": ["ext/**/*.js"],
|
||||||
"excludedFiles": [
|
"excludedFiles": [
|
||||||
"ext/js/core.js",
|
"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": {
|
"globals": {
|
||||||
"yomichan": "readonly"
|
"yomichan": "readonly"
|
||||||
|
Loading…
Reference in New Issue
Block a user