diff --git a/.jshintrc b/.jshintrc deleted file mode 100644 index d1dfac4f2..000000000 --- a/.jshintrc +++ /dev/null @@ -1,4 +0,0 @@ -{ - "undef": true, - "unused": true -} diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 031fe3a6a..000000000 --- a/.travis.yml +++ /dev/null @@ -1,7 +0,0 @@ -dist: xenial -language: generic -install: npm install -script: make -branches: - only: - - master diff --git a/crx-chromium-version.txt b/crx-chromium-version.txt deleted file mode 100644 index 2d4f0bd7a..000000000 --- a/crx-chromium-version.txt +++ /dev/null @@ -1 +0,0 @@ -Chromium 73.0.3683.75 built on Debian buster/sid, running on Debian buster/sid diff --git a/package.json b/package.json index 0ca9ee941..7380e6463 100644 --- a/package.json +++ b/package.json @@ -109,7 +109,7 @@ "@violentmonkey/types": "^0.1.5", "chrome-webstore-upload": "^1.0.0", "esprima": "^4.0.1", - "jshint": "^2.13.4", + "eslint": "^8.0.1", "jszip": "^3.10.0", "lodash.template": "^4.5.0", "markdown-it": "^12.3.2", diff --git a/src/meta/jshint.json b/src/meta/jshint.json index 1b58dc59c..08105bb98 100644 --- a/src/meta/jshint.json +++ b/src/meta/jshint.json @@ -1,34 +1,38 @@ { - "undef": true, - "unused": true, - "eqnull": true, - "expr": true, - "sub": true, + "undef": true, + "unused": true, + "eqnull": true, + "expr": true, + "sub": true, "scripturl": true, "multistr": true, "browser": true, - "devel": true, + "devel": true, "nonstandard": true, "-W018": true, "-W084": true, "-W083": true, "-W093": true, "globals": { - "MediaError": false, - "Set": false, - "Promise": false, + "MediaError": false, + "Set": false, + "Promise": false, "BroadcastChannel": false, - "GM_info": false, - "cloneInto": false, + "GM_info": false, + "cloneInto": false, "XPCNativeWrapper": false, "unsafeWindow": false, - "chrome": false, + "chrome": false, "GM": false<%= meta.grants.filter(x => !/\./.test(x)).map(x => `,\n "${x}": false`).join('') %><%= - read('/tmp/declaration.js').match(/^var (.*);/)[1].split(', ').map(x => `,\n "${x}": true`).join('') + read('/tmp/declaration.js').match(/^var (.*);/)[ + 1 + ].split(', ').map(x => `,\n "${x}": true`).join('') %><%= - read('/src/globals/globals.js').match(/^var (.*);/)[1].split(', ').map(x => `,\n "${x}": true`).join('') + read('/src/globals/globals.js').match(/^var (.*);/)[ + 1 + ].split(', ').map(x => `,\n "${x}": true`).join('') %> } -} +} \ No newline at end of file diff --git a/template.jst b/template.jst deleted file mode 100644 index b561416a2..000000000 --- a/template.jst +++ /dev/null @@ -1,74 +0,0 @@ - - - -4chan X - - - - - -Screenshot -<%= -content - .match(/<\/h1>([^]*)

)(.*?)(<\/h3>[^]*?)(?=