scrabble-solver
Version:
Scrabble Solver 2 - Free, open-source, cross-platform, multi-language analysis tool for Scrabble, Scrabble Duel, Super Scrabble, Letter League, Literaki, and Kelimelik. Quickly find the top-scoring words using the given board and tiles.
359 lines (350 loc) • 61.7 MB
Plain Text
> scrabble-solver@2.15.8 lint
> eslint cypress packages
/home/kamil/projects/scrabble-solver/packages/dictionaries/src/Dictionaries.ts
8:10 error 'Cache' is already defined as a built-in global variable no-redeclare
/home/kamil/projects/scrabble-solver/packages/dictionaries/src/lib/DiskCache.ts
6:10 error 'Cache' is already defined as a built-in global variable no-redeclare
/home/kamil/projects/scrabble-solver/packages/dictionaries/src/lib/LayeredCache.ts
4:10 error 'Cache' is already defined as a built-in global variable no-redeclare
/home/kamil/projects/scrabble-solver/packages/dictionaries/src/lib/MemoryCache.ts
5:10 error 'Cache' is already defined as a built-in global variable no-redeclare
/home/kamil/projects/scrabble-solver/packages/dictionaries/src/lib/createCacheTimestampComparator.ts
4:10 error 'Cache' is already defined as a built-in global variable no-redeclare
/home/kamil/projects/scrabble-solver/packages/dictionaries/src/types/Cache.ts
1:11 error 'Cache' is already defined as a built-in global variable no-redeclare
/home/kamil/projects/scrabble-solver/packages/scrabble-solver/.next/server/chunks/283.js
1:1 error This line has a length of 21109. Maximum allowed is 120 max-len
1:1 error 'use strict' is unnecessary when implied strict mode is enabled strict
1:1 error Strings must use singlequote quotes
1:13 error Missing whitespace after semicolon semi-spacing
1:14 error Expected an assignment or function call and instead saw an expression no-unused-expressions
1:14 error Expected an assignment or function call and instead saw an expression @typescript-eslint/no-unused-expressions
1:14 error This line has 373 statements. Maximum allowed is 1 max-statements-per-line
1:24 error Operator '=' must be spaced space-infix-ops
1:28 error Unexpected use of comma operator no-sequences
1:28 error A space is required after ',' comma-spacing
1:40 error Operator '=' must be spaced space-infix-ops
1:46 error A space is required after ',' comma-spacing
1:62 error Operator '=' must be spaced space-infix-ops
1:63 error A space is required after '{' object-curly-spacing
1:68 error Missing space before value for key '184' key-spacing
1:70 error A space is required after ',' comma-spacing
1:72 error A space is required after ',' comma-spacing
1:74 error Missing space before => arrow-spacing
1:77 error Missing space after => arrow-spacing
1:77 error Requires a space after '{' block-spacing
1:77 error Statement inside of curly braces should be on next line brace-style
1:83 error A space is required after ',' comma-spacing
1:84 error A space is required after '{' object-curly-spacing
1:87 error Missing space before value for key 'A' key-spacing
1:88 error Missing space before => arrow-spacing
1:91 error Missing space after => arrow-spacing
1:92 error A space is required before '}' object-curly-spacing
1:94 error Missing whitespace after semicolon semi-spacing
1:99 error 'i' is never reassigned. Use 'const' instead prefer-const
1:100 error Operator '=' must be spaced space-infix-ops
1:101 error Missing space before => arrow-spacing
1:101 error Expected parentheses around arrow function argument arrow-parens
1:101 error 'e' is already declared in the upper scope on line 1 column 69 no-shadow
1:104 error Missing space after => arrow-spacing
1:105 error A space is required after '{' object-curly-spacing
1:113 error Missing space before value for key 'origin' key-spacing
1:129 error A space is required after ',' comma-spacing
1:138 error Missing space before value for key 'referer' key-spacing
1:155 error A space is required after ',' comma-spacing
1:166 error Missing space before value for key 'userAgent' key-spacing
1:176 error Strings must use singlequote quotes
1:189 error A space is required after ',' comma-spacing
1:204 error Missing space before value for key 'xForwardedFor' key-spacing
1:214 error Strings must use singlequote quotes
1:232 error A space is required after ',' comma-spacing
1:241 error Missing space before value for key 'xRealIp' key-spacing
1:251 error Strings must use singlequote quotes
1:263 error A space is required before '}' object-curly-spacing
1:265 error Requires a space before '}' block-spacing
1:265 error Closing curly brace should be on the same line as opening curly brace or on the line after the previous block brace-style
1:265 error Missing semicolon semi
1:266 error A space is required after ',' comma-spacing
1:272 error Missing space before value for key '1385' key-spacing
1:274 error A space is required after ',' comma-spacing
1:276 error Missing space before => arrow-spacing
1:279 error Missing space after => arrow-spacing
1:279 error Requires a space after '{' block-spacing
1:279 error Statement inside of curly braces should be on next line brace-style
1:280 error Avoid using Object.defineProperty, instead use Reflect.defineProperty prefer-reflect
1:303 error A space is required after ',' comma-spacing
1:304 error Strings must use singlequote quotes
1:316 error A space is required after ',' comma-spacing
1:317 error A space is required after '{' object-curly-spacing
1:324 error Missing space before value for key 'value' key-spacing
1:326 error A space is required before '}' object-curly-spacing
1:328 error Missing whitespace after semicolon semi-spacing
1:336 error Statement inside of curly braces should be on next line brace-style
1:336 error Missing space before opening brace space-before-blocks
1:353 error 'e' is already declared in the upper scope on line 1 column 273 no-shadow
1:355 error Requires a space after '{' block-spacing
1:355 error Statement inside of curly braces should be on next line brace-style
1:355 error Missing space before opening brace space-before-blocks
1:364 error Operator '?' must be spaced space-infix-ops
1:369 error A constructor name should not start with a lowercase letter new-cap
1:371 error A space is required after '{' object-curly-spacing
1:384 error Missing space before value for key 'definitions' key-spacing
1:397 error A space is required after ',' comma-spacing
1:405 error Missing space before value for key 'exists' key-spacing
1:413 error A space is required after ',' comma-spacing
1:424 error Missing space before value for key 'isAllowed' key-spacing
1:435 error A space is required after ',' comma-spacing
1:441 error Missing space before value for key 'word' key-spacing
1:447 error A space is required before '}' object-curly-spacing
1:449 error Operator ':' must be spaced space-infix-ops
1:456 error Requires a space before '}' block-spacing
1:456 error Closing curly brace should be on the same line as opening curly brace or on the line after the previous block brace-style
1:456 error Missing semicolon semi
1:469 error A space is required after '{' object-curly-spacing
1:482 error Missing space before value for key 'definitions' key-spacing
1:482 error 'e' is already declared in the upper scope on line 1 column 273 no-shadow
1:483 error A space is required after ',' comma-spacing
1:491 error Missing space before value for key 'exists' key-spacing
1:491 error 't' is already declared in the upper scope on line 1 column 275 no-shadow
1:492 error A space is required after ',' comma-spacing
1:503 error Missing space before value for key 'isAllowed' key-spacing
1:503 error 'r' is already declared in the upper scope on line 1 column 335 no-shadow
1:504 error A space is required after ',' comma-spacing
1:510 error Missing space before value for key 'word' key-spacing
1:511 error A space is required before '}' object-curly-spacing
1:513 error Requires a space after '{' block-spacing
1:513 error Statement inside of curly braces should be on next line brace-style
1:513 error Missing space before opening brace space-before-blocks
1:514 error Expected an assignment or function call and instead saw an expression no-unused-expressions
1:514 error Expected an assignment or function call and instead saw an expression @typescript-eslint/no-unused-expressions
1:530 error Operator '=' must be spaced space-infix-ops
1:532 error Unexpected use of comma operator no-sequences
1:532 error A space is required after ',' comma-spacing
1:544 error Operator '=' must be spaced space-infix-ops
1:546 error A space is required after ',' comma-spacing
1:561 error Operator '=' must be spaced space-infix-ops
1:563 error A space is required after ',' comma-spacing
1:573 error Operator '=' must be spaced space-infix-ops
1:575 error Requires a space before '}' block-spacing
1:575 error Closing curly brace should be on the same line as opening curly brace or on the line after the previous block brace-style
1:575 error Missing semicolon semi
1:584 error Requires a space after '{' block-spacing
1:584 error Statement inside of curly braces should be on next line brace-style
1:584 error Missing space before opening brace space-before-blocks
1:585 error Expected space(s) after "return" keyword-spacing
1:591 error A space is required after '{' object-curly-spacing
1:604 error Missing space before value for key 'definitions' key-spacing
1:620 error A space is required after ',' comma-spacing
1:628 error Missing space before value for key 'exists' key-spacing
1:639 error A space is required after ',' comma-spacing
1:650 error Missing space before value for key 'isAllowed' key-spacing
1:664 error A space is required after ',' comma-spacing
1:670 error Missing space before value for key 'word' key-spacing
1:679 error A space is required before '}' object-curly-spacing
1:680 error Requires a space before '}' block-spacing
1:680 error Closing curly brace should be on the same line as opening curly brace or on the line after the previous block brace-style
1:680 error Missing semicolon semi
1:681 error Closing curly brace should be on the same line as opening curly brace or on the line after the previous block brace-style
1:682 error Expected an assignment or function call and instead saw an expression no-unused-expressions
1:682 error Expected an assignment or function call and instead saw an expression @typescript-eslint/no-unused-expressions
1:688 error Operator '=' must be spaced space-infix-ops
1:703 error A space is required after '{' object-curly-spacing
1:716 error Missing space before value for key 'definitions' key-spacing
1:718 error A space is required after ',' comma-spacing
1:726 error Missing space before value for key 'exists' key-spacing
1:728 error A space is required after ',' comma-spacing
1:739 error Missing space before value for key 'isAllowed' key-spacing
1:741 error A space is required after ',' comma-spacing
1:747 error Missing space before value for key 'word' key-spacing
1:747 error Strings must use singlequote quotes
1:749 error A space is required after ',' comma-spacing
1:757 error Missing space before value for key 'toJson' key-spacing
1:758 error Missing space before => arrow-spacing
1:761 error Missing space after => arrow-spacing
1:765 error A space is required before '}' object-curly-spacing
1:767 error Unexpected use of comma operator no-sequences
1:767 error A space is required after ',' comma-spacing
1:777 error Operator '=' must be spaced space-infix-ops
1:779 error Requires a space before '}' block-spacing
1:779 error Closing curly brace should be on the same line as opening curly brace or on the line after the previous block brace-style
1:779 error Missing semicolon semi
1:780 error A space is required after ',' comma-spacing
1:786 error Missing space before value for key '1419' key-spacing
1:788 error A space is required after ',' comma-spacing
1:790 error A space is required after ',' comma-spacing
1:792 error Missing space before => arrow-spacing
1:795 error Missing space after => arrow-spacing
1:795 error Requires a space after '{' block-spacing
1:795 error Statement inside of curly braces should be on next line brace-style
1:802 error Missing whitespace after semicolon semi-spacing
1:803 error All 'var' declarations must be at the top of the function scope vars-on-top
1:803 error Unexpected var, use let or const instead no-var
1:808 error Operator '=' must be spaced space-infix-ops
1:818 error 'e' is already declared in the upper scope on line 1 column 787 no-shadow
1:820 error Requires a space after '{' block-spacing
1:820 error Statement inside of curly braces should be on next line brace-style
1:820 error Missing space before opening brace space-before-blocks
1:829 error Operator '&&' must be spaced space-infix-ops
1:831 error Unexpected dangling '_' in '__esModule' no-underscore-dangle
1:843 error Operator '?' must be spaced space-infix-ops
1:845 error Operator ':' must be spaced space-infix-ops
1:846 error A space is required after '{' object-curly-spacing
1:855 error Missing space before value for key 'default' key-spacing
1:856 error A space is required before '}' object-curly-spacing
1:857 error Requires a space before '}' block-spacing
1:857 error Closing curly brace should be on the same line as opening curly brace or on the line after the previous block brace-style
1:857 error Missing semicolon semi
1:858 error Missing whitespace after semicolon semi-spacing
1:859 error Avoid using Object.defineProperty, instead use Reflect.defineProperty prefer-reflect
1:888 error A space is required after ',' comma-spacing
1:889 error Strings must use singlequote quotes
1:901 error A space is required after ',' comma-spacing
1:902 error A space is required after '{' object-curly-spacing
1:909 error Missing space before value for key 'value' key-spacing
1:911 error A space is required before '}' object-curly-spacing
1:913 error Missing whitespace after semicolon semi-spacing
1:914 error Split 'let' declarations into multiple statements one-var
1:918 error 's' is never reassigned. Use 'const' instead prefer-const
1:919 error Operator '=' must be spaced space-infix-ops
1:922 error A `require()` style import is forbidden @typescript-eslint/no-require-imports
1:930 error Strings must use singlequote quotes
1:957 error A space is required after ',' comma-spacing
1:958 error Expected variable declaration to be on a new line one-var-declaration-per-line
1:958 error Variables within the same declaration block should be sorted alphabetically sort-vars
1:958 error 'o' is never reassigned. Use 'const' instead prefer-const
1:959 error Operator '=' must be spaced space-infix-ops
1:960 error A `require()` style import is forbidden @typescript-eslint/no-require-imports
1:968 error Strings must use singlequote quotes
1:993 error A space is required after ',' comma-spacing
1:994 error Expected variable declaration to be on a new line one-var-declaration-per-line
1:994 error Variables within the same declaration block should be sorted alphabetically sort-vars
1:994 error 'n' is never reassigned. Use 'const' instead prefer-const
1:995 error Operator '=' must be spaced space-infix-ops
1:998 error A `require()` style import is forbidden @typescript-eslint/no-require-imports
1:1006 error Strings must use singlequote quotes
1:1012 error A space is required after ',' comma-spacing
1:1013 error Expected variable declaration to be on a new line one-var-declaration-per-line
1:1013 error Variables within the same declaration block should be sorted alphabetically sort-vars
1:1013 error 'l' is never reassigned. Use 'const' instead prefer-const
1:1014 error Operator '=' must be spaced space-infix-ops
1:1015 error A `require()` style import is forbidden @typescript-eslint/no-require-imports
1:1023 error Strings must use singlequote quotes
1:1037 error A space is required after ',' comma-spacing
1:1038 error Expected variable declaration to be on a new line one-var-declaration-per-line
1:1038 error Variables within the same declaration block should be sorted alphabetically sort-vars
1:1038 error 'a' is never reassigned. Use 'const' instead prefer-const
1:1039 error Operator '=' must be spaced space-infix-ops
1:1040 error A `require()` style import is forbidden @typescript-eslint/no-require-imports
1:1048 error Strings must use singlequote quotes
1:1056 error Missing whitespace after semicolon semi-spacing
1:1064 error Statement inside of curly braces should be on next line brace-style
1:1064 error Missing space before opening brace space-before-blocks
1:1078 error Requires a space after '{' block-spacing
1:1078 error Statement inside of curly braces should be on next line brace-style
1:1078 error Missing space before opening brace space-before-blocks
1:1079 error Expected an assignment or function call and instead saw an expression no-unused-expressions
1:1079 error Expected an assignment or function call and instead saw an expression @typescript-eslint/no-unused-expressions
1:1089 error Operator '=' must be spaced space-infix-ops
1:1090 error Missing '()' invoking a constructor new-parens
1:1108 error Unexpected use of comma operator no-sequences
1:1108 error A space is required after ',' comma-spacing
1:1139 error Operator '=' must be spaced space-infix-ops
1:1187 error Missing space before => arrow-spacing
1:1187 error Expected parentheses around arrow function argument arrow-parens
1:1187 error 'e' is already declared in the upper scope on line 1 column 787 no-shadow
1:1190 error Missing space after => arrow-spacing
1:1192 error A space is required after ',' comma-spacing
1:1195 error A space is required after ',' comma-spacing
1:1217 error Missing space before => arrow-spacing
1:1220 error Missing space after => arrow-spacing
1:1222 error A space is required after ',' comma-spacing
1:1251 error Requires a space before '}' block-spacing
1:1251 error Closing curly brace should be on the same line as opening curly brace or on the line after the previous block brace-style
1:1251 error Missing semicolon semi
1:1252 error Expected space(s) before "async" keyword-spacing
1:1262 error 'e' is already declared in the upper scope on line 1 column 787 no-shadow
1:1264 error Requires a space after '{' block-spacing
1:1264 error Statement inside of curly braces should be on next line brace-style
1:1264 error Missing space before opening brace space-before-blocks
1:1265 error Expected space(s) after "if" keyword-spacing
1:1286 error Requires a space after '{' block-spacing
1:1286 error Statement inside of curly braces should be on next line brace-style
1:1286 error Missing space before opening brace space-before-blocks
1:1291 error 't' is already declared in the upper scope on line 1 column 789 no-shadow
1:1291 error 't' is never reassigned. Use 'const' instead prefer-const
1:1292 error Operator '=' must be spaced space-infix-ops
1:1316 error Missing whitespace after semicolon semi-spacing
1:1317 error Expected space(s) after "if" keyword-spacing
1:1322 error Expected { after 'if' condition curly
1:1322 error Expected space(s) before "return" keyword-spacing
1:1330 error Requires a space before '}' block-spacing
1:1330 error Closing curly brace should be on the same line as opening curly brace or on the line after the previous block brace-style
1:1330 error Missing semicolon semi
1:1331 error Expected space(s) before "return" keyword-spacing
1:1353 error Strings must use singlequote quotes
1:1380 error A space is required after ',' comma-spacing
1:1381 error A space is required after '{' object-curly-spacing
1:1389 error Missing space before value for key 'locale' key-spacing
1:1390 error A space is required before '}' object-curly-spacing
1:1392 error Unexpected use of comma operator no-sequences
1:1392 error A space is required after ',' comma-spacing
1:1417 error Requires a space before '}' block-spacing
1:1417 error Closing curly brace should be on the same line as opening curly brace or on the line after the previous block brace-style
1:1417 error Missing semicolon semi
1:1426 error Requires a space after '{' block-spacing
1:1426 error Statement inside of curly braces should be on next line brace-style
1:1426 error Missing space before opening brace space-before-blocks
1:1465 error A space is required after ',' comma-spacing
1:1466 error A space is required after '{' object-curly-spacing
1:1477 error Missing space before value for key 'recursive' key-spacing
1:1479 error A space is required before '}' object-curly-spacing
1:1481 error Requires a space before '}' block-spacing
1:1481 error Closing curly brace should be on the same line as opening curly brace or on the line after the previous block brace-style
1:1481 error Missing semicolon semi
1:1482 error Expected space(s) before "async" keyword-spacing
1:1495 error 'e' is already declared in the upper scope on line 1 column 787 no-shadow
1:1497 error Requires a space after '{' block-spacing
1:1497 error Statement inside of curly braces should be on next line brace-style
1:1497 error Missing space before opening brace space-before-blocks
1:1502 error 't' is already declared in the upper scope on line 1 column 789 no-shadow
1:1502 error 't' is never reassigned. Use 'const' instead prefer-const
1:1503 error Operator '=' must be spaced space-infix-ops
1:1505 error Operator '?' must be spaced space-infix-ops
1:1529 error Operator ':' must be spaced space-infix-ops
1:1555 error Missing whitespace after semicolon semi-spacing
1:1556 error Expected an assignment or function call and instead saw an expression no-unused-expressions
1:1556 error Expected an assignment or function call and instead saw an expression @typescript-eslint/no-unused-expressions
1:1571 error Strings must use singlequote quotes
1:1594 error A space is required after ',' comma-spacing
1:1595 error A space is required after '{' object-curly-spacing
1:1602 error Missing space before value for key 'force' key-spacing
1:1603 error A space is required after ',' comma-spacing
1:1612 error Missing space before value for key 'locales' key-spacing
1:1613 error A space is required before '}' object-curly-spacing
1:1615 error Unexpected use of comma operator no-sequences
1:1615 error A space is required after ',' comma-spacing
1:1640 error Missing space before => arrow-spacing
1:1640 error Expected parentheses around arrow function argument arrow-parens
1:1640 error 'e' is already declared in the upper scope on line 1 column 1495 no-shadow
1:1643 error Missing space after => arrow-spacing
1:1669 error Requires a space before '}' block-spacing
1:1669 error Closing curly brace should be on the same line as opening curly brace or on the line after the previous block brace-style
1:1669 error Missing semicolon semi
1:1690 error Requires a space after '{' block-spacing
1:1690 error Statement inside of curly braces should be on next line brace-style
1:1690 error Missing space before opening brace space-before-blocks
1:1729 error Missing space before => arrow-spacing
1:1729 error Expected parentheses around arrow function argument arrow-parens
1:1729 error 'e' is already declared in the upper scope on line 1 column 787 no-shadow
1:1732 error Missing space after => arrow-spacing
1:1734 error Operator '!==' must be spaced space-infix-ops
1:1759 error Requires a space before '}' block-spacing
1:1759 error Closing curly brace should be on the same line as opening curly brace or on the line after the previous block brace-style
1:1759 error Missing semicolon semi
1:1760 error Expected space(s) before "async" keyword-spacing
1:1783 error 'e' is already declared in the upper scope on line 1 column 787 no-shadow
1:1785 error Requires a space after '{' block-spacing
1:1785 error Statement inside of curly braces should be on next line brace-style
1:1785 error Missing space before opening brace space-before-blocks
1:1786 error Expected an assignment or function call and instead saw an expression no-unused-expressions
1:1786 error Expected an assignment or function call and instead saw an expression @typescript-eslint/no-unused-expr