-
Notifications
You must be signed in to change notification settings - Fork 208
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #605 from Aktanusa/dev (v 2.031.4)
Version 2.031.4
- Loading branch information
Showing
19 changed files
with
7,304 additions
and
8,518 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
CookieMonster.js | ||
CookieMonster.user.js |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
module.exports = { | ||
env: { | ||
browser: true, | ||
es2021: true, | ||
}, | ||
globals: { | ||
module: 'readonly', | ||
Game: 'writable', | ||
l: 'readonly', | ||
b64_to_utf8: 'readonly', | ||
utf8_to_b64: 'readonly', | ||
Beautify: 'writable', | ||
realAudio: 'readonly', | ||
JSColor: 'readonly', | ||
jscolor: 'readonly', | ||
BeautifyAll: 'readonly', | ||
CM: 'writable', | ||
unsafeWindow: 'readonly', | ||
}, | ||
extends: 'airbnb-base', | ||
parserOptions: { | ||
ecmaVersion: 12, | ||
}, | ||
rules: { | ||
indent: ['error', 'tab'], | ||
'no-tabs': 'off', | ||
'max-len': 'off', | ||
'no-param-reassign': 'off', | ||
'no-plusplus': 'off', | ||
'no-new-func': 'off', | ||
'no-eval': 'off', | ||
'no-restricted-properties': 'off', | ||
'no-restricted-syntax': 'off', | ||
'no-mixed-operators': 'off', | ||
'prefer-destructuring': 'off', | ||
'func-names': 'off', | ||
'no-use-before-define': 'off', | ||
'no-console': 'off', | ||
'no-nested-ternary': 'off', | ||
'object-shorthand': 'off', | ||
'no-else-return': 'off', | ||
'prefer-arrow-callback': 'off', | ||
'no-new': 'off', | ||
'no-alert': 'off', | ||
'new-cap': 'off', | ||
'no-restricted-globals': 'off', | ||
'no-template-curly-in-string': 'off', | ||
radix: 'off', | ||
}, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
name: CI | ||
on: [push, pull_request] | ||
jobs: | ||
Check_ESLint: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Run ESLint | ||
run: | | ||
npm install | ||
npx eslint src | ||
Check_main_file: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Check if CookieMonster.js is built correctly | ||
run: | | ||
npm install | ||
npx terser ./src/Header.js ./src/Cache.js ./src/Config.js ./src/Data.js ./src/Disp.js ./src/Main.js ./src/Sim.js ./src/Footer.js -o CookieMonsterTest.js | ||
if cmp CookieMonster.js CookieMonsterTest.js; then | ||
echo '### SUCCESS: CookieMonster is correctly built! ###' | ||
else | ||
echo '### WARNING: CookieMonster.js does not seem to be correct. Make sure to run "npm run build" after saving all your changes! ###' | ||
exit 1 | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
node_modules |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.