--- source: crates/biome_js_analyze/tests/spec_tests.rs expression: invalid.js --- # Input ```jsx let x = "\8" let x = "\9" let x = "\"\8\"" let x = "f\9" let x = "fo\9" let x = "foo\9" let x = "foo\8bar" let x = "πŸ‘\8" let x = "\\\8" let x = "\\\\\9" let x = "foo\\\8" let x = "\\ \8" let x = "\\1\9" let x = "foo\\1\9" let x = "\\n\\n\8\\n" let x = "\\n.\\n\8\\n" let x = "\\n.\\nn\8\\n" let x = "\\πŸ‘\8" let x = "\\\8\9" let x = "\8\\\9" let x = "\8 \\\9" let x = "\8\8" let x = "\9\8" let x = "foo\8bar\9baz" let x = "\8\\1\9" let x = "\9\\n9\\\9\9" let x = "\8\\\\\9" let x = "var foo = '\8'; bar('\9')" let x = "var foo = '8'\n bar = '\9'" let x = "\\\n\8" let x = "\\\r\n\9" let x = "\\\\\n\8" let x = "foo\\\nbar\9baz" let x = "\\0\8" let x = "foo\\0\9bar" let x = "\\1\\0\8" let x = "\\0\8\9" let x = "\8\\0\9" let x = "0\8" let x = "\\0\8" let x = "\0 \8" let x = "\01\8" let x = "\0\1\8" let x = "\0\\n\8" ``` # Diagnostics ``` invalid.js:1:10 lint/correctness/noNonoctalDecimalEscape FIXABLE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ! Don't use `\8` and `\9` escape sequences in string literals. > 1 β”‚ let x = "\8" β”‚ ^^ 2 β”‚ let x = "\9" 3 β”‚ let x = "\"\8\"" i The nonoctal decimal escape is a deprecated syntax that is left for compatibility and should not be used. i Unsafe fix: Replace \8 with 8. This maintains the current functionality. 1 β”‚ letΒ·xΒ·=Β·"\8" β”‚ - ``` ``` invalid.js:2:10 lint/correctness/noNonoctalDecimalEscape FIXABLE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ! Don't use `\8` and `\9` escape sequences in string literals. 1 β”‚ let x = "\8" > 2 β”‚ let x = "\9" β”‚ ^^ 3 β”‚ let x = "\"\8\"" 4 β”‚ let x = "f\9" i The nonoctal decimal escape is a deprecated syntax that is left for compatibility and should not be used. i Unsafe fix: Replace \9 with 9. This maintains the current functionality. 2 β”‚ letΒ·xΒ·=Β·"\9" β”‚ - ``` ``` invalid.js:3:12 lint/correctness/noNonoctalDecimalEscape FIXABLE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ! Don't use `\8` and `\9` escape sequences in string literals. 1 β”‚ let x = "\8" 2 β”‚ let x = "\9" > 3 β”‚ let x = "\"\8\"" β”‚ ^^ 4 β”‚ let x = "f\9" 5 β”‚ let x = "fo\9" i The nonoctal decimal escape is a deprecated syntax that is left for compatibility and should not be used. i Unsafe fix: Replace \8 with 8. This maintains the current functionality. 3 β”‚ letΒ·xΒ·=Β·"\"\8\"" β”‚ - ``` ``` invalid.js:4:11 lint/correctness/noNonoctalDecimalEscape FIXABLE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ! Don't use `\8` and `\9` escape sequences in string literals. 2 β”‚ let x = "\9" 3 β”‚ let x = "\"\8\"" > 4 β”‚ let x = "f\9" β”‚ ^^ 5 β”‚ let x = "fo\9" 6 β”‚ let x = "foo\9" i The nonoctal decimal escape is a deprecated syntax that is left for compatibility and should not be used. i Unsafe fix: Replace \9 with 9. This maintains the current functionality. 2 2 β”‚ let x = "\9" 3 3 β”‚ let x = "\"\8\"" 4 β”‚ - letΒ·xΒ·=Β·"f\9" 4 β”‚ + letΒ·xΒ·=Β·"f9" 5 5 β”‚ let x = "fo\9" 6 6 β”‚ let x = "foo\9" ``` ``` invalid.js:5:12 lint/correctness/noNonoctalDecimalEscape FIXABLE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ! Don't use `\8` and `\9` escape sequences in string literals. 3 β”‚ let x = "\"\8\"" 4 β”‚ let x = "f\9" > 5 β”‚ let x = "fo\9" β”‚ ^^ 6 β”‚ let x = "foo\9" 7 β”‚ let x = "foo\8bar" i The nonoctal decimal escape is a deprecated syntax that is left for compatibility and should not be used. i Unsafe fix: Replace \9 with 9. This maintains the current functionality. 3 3 β”‚ let x = "\"\8\"" 4 4 β”‚ let x = "f\9" 5 β”‚ - letΒ·xΒ·=Β·"fo\9" 5 β”‚ + letΒ·xΒ·=Β·"fo9" 6 6 β”‚ let x = "foo\9" 7 7 β”‚ let x = "foo\8bar" ``` ``` invalid.js:6:13 lint/correctness/noNonoctalDecimalEscape FIXABLE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ! Don't use `\8` and `\9` escape sequences in string literals. 4 β”‚ let x = "f\9" 5 β”‚ let x = "fo\9" > 6 β”‚ let x = "foo\9" β”‚ ^^ 7 β”‚ let x = "foo\8bar" 8 β”‚ let x = "πŸ‘\8" i The nonoctal decimal escape is a deprecated syntax that is left for compatibility and should not be used. i Unsafe fix: Replace \9 with 9. This maintains the current functionality. 4 4 β”‚ let x = "f\9" 5 5 β”‚ let x = "fo\9" 6 β”‚ - letΒ·xΒ·=Β·"foo\9" 6 β”‚ + letΒ·xΒ·=Β·"foo9" 7 7 β”‚ let x = "foo\8bar" 8 8 β”‚ let x = "πŸ‘\8" ``` ``` invalid.js:7:13 lint/correctness/noNonoctalDecimalEscape FIXABLE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ! Don't use `\8` and `\9` escape sequences in string literals. 5 β”‚ let x = "fo\9" 6 β”‚ let x = "foo\9" > 7 β”‚ let x = "foo\8bar" β”‚ ^^ 8 β”‚ let x = "πŸ‘\8" 9 β”‚ let x = "\\\8" i The nonoctal decimal escape is a deprecated syntax that is left for compatibility and should not be used. i Unsafe fix: Replace \8 with 8. This maintains the current functionality. 5 5 β”‚ let x = "fo\9" 6 6 β”‚ let x = "foo\9" 7 β”‚ - letΒ·xΒ·=Β·"foo\8bar" 7 β”‚ + letΒ·xΒ·=Β·"foo8bar" 8 8 β”‚ let x = "πŸ‘\8" 9 9 β”‚ let x = "\\\8" ``` ``` invalid.js:8:11 lint/correctness/noNonoctalDecimalEscape FIXABLE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ! Don't use `\8` and `\9` escape sequences in string literals. 6 β”‚ let x = "foo\9" 7 β”‚ let x = "foo\8bar" > 8 β”‚ let x = "πŸ‘\8" β”‚ ^^ 9 β”‚ let x = "\\\8" 10 β”‚ let x = "\\\\\9" i The nonoctal decimal escape is a deprecated syntax that is left for compatibility and should not be used. i Unsafe fix: Replace \8 with 8. This maintains the current functionality. 8 β”‚ letΒ·xΒ·=Β·"πŸ‘\8" β”‚ - ``` ``` invalid.js:9:12 lint/correctness/noNonoctalDecimalEscape FIXABLE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ! Don't use `\8` and `\9` escape sequences in string literals. 7 β”‚ let x = "foo\8bar" 8 β”‚ let x = "πŸ‘\8" > 9 β”‚ let x = "\\\8" β”‚ ^^ 10 β”‚ let x = "\\\\\9" 11 β”‚ let x = "foo\\\8" i The nonoctal decimal escape is a deprecated syntax that is left for compatibility and should not be used. i Unsafe fix: Replace \8 with 8. This maintains the current functionality. 9 β”‚ letΒ·xΒ·=Β·"\\\8" β”‚ - ``` ``` invalid.js:10:14 lint/correctness/noNonoctalDecimalEscape FIXABLE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ! Don't use `\8` and `\9` escape sequences in string literals. 8 β”‚ let x = "πŸ‘\8" 9 β”‚ let x = "\\\8" > 10 β”‚ let x = "\\\\\9" β”‚ ^^ 11 β”‚ let x = "foo\\\8" 12 β”‚ let x = "\\ \8" i The nonoctal decimal escape is a deprecated syntax that is left for compatibility and should not be used. i Unsafe fix: Replace \9 with 9. This maintains the current functionality. 10 β”‚ letΒ·xΒ·=Β·"\\\\\9" β”‚ - ``` ``` invalid.js:11:15 lint/correctness/noNonoctalDecimalEscape FIXABLE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ! Don't use `\8` and `\9` escape sequences in string literals. 9 β”‚ let x = "\\\8" 10 β”‚ let x = "\\\\\9" > 11 β”‚ let x = "foo\\\8" β”‚ ^^ 12 β”‚ let x = "\\ \8" 13 β”‚ let x = "\\1\9" i The nonoctal decimal escape is a deprecated syntax that is left for compatibility and should not be used. i Unsafe fix: Replace \8 with 8. This maintains the current functionality. 11 β”‚ letΒ·xΒ·=Β·"foo\\\8" β”‚ - ``` ``` invalid.js:12:13 lint/correctness/noNonoctalDecimalEscape FIXABLE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ! Don't use `\8` and `\9` escape sequences in string literals. 10 β”‚ let x = "\\\\\9" 11 β”‚ let x = "foo\\\8" > 12 β”‚ let x = "\\ \8" β”‚ ^^ 13 β”‚ let x = "\\1\9" 14 β”‚ let x = "foo\\1\9" i The nonoctal decimal escape is a deprecated syntax that is left for compatibility and should not be used. i Unsafe fix: Replace \8 with 8. This maintains the current functionality. 12 β”‚ letΒ·xΒ·=Β·"\\Β·\8" β”‚ - ``` ``` invalid.js:13:13 lint/correctness/noNonoctalDecimalEscape FIXABLE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ! Don't use `\8` and `\9` escape sequences in string literals. 11 β”‚ let x = "foo\\\8" 12 β”‚ let x = "\\ \8" > 13 β”‚ let x = "\\1\9" β”‚ ^^ 14 β”‚ let x = "foo\\1\9" 15 β”‚ let x = "\\n\\n\8\\n" i The nonoctal decimal escape is a deprecated syntax that is left for compatibility and should not be used. i Unsafe fix: Replace \9 with 9. This maintains the current functionality. 11 11 β”‚ let x = "foo\\\8" 12 12 β”‚ let x = "\\ \8" 13 β”‚ - letΒ·xΒ·=Β·"\\1\9" 13 β”‚ + letΒ·xΒ·=Β·"\\19" 14 14 β”‚ let x = "foo\\1\9" 15 15 β”‚ let x = "\\n\\n\8\\n" ``` ``` invalid.js:14:16 lint/correctness/noNonoctalDecimalEscape FIXABLE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ! Don't use `\8` and `\9` escape sequences in string literals. 12 β”‚ let x = "\\ \8" 13 β”‚ let x = "\\1\9" > 14 β”‚ let x = "foo\\1\9" β”‚ ^^ 15 β”‚ let x = "\\n\\n\8\\n" 16 β”‚ let x = "\\n.\\n\8\\n" i The nonoctal decimal escape is a deprecated syntax that is left for compatibility and should not be used. i Unsafe fix: Replace \9 with 9. This maintains the current functionality. 12 12 β”‚ let x = "\\ \8" 13 13 β”‚ let x = "\\1\9" 14 β”‚ - letΒ·xΒ·=Β·"foo\\1\9" 14 β”‚ + letΒ·xΒ·=Β·"foo\\19" 15 15 β”‚ let x = "\\n\\n\8\\n" 16 16 β”‚ let x = "\\n.\\n\8\\n" ``` ``` invalid.js:15:16 lint/correctness/noNonoctalDecimalEscape FIXABLE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ! Don't use `\8` and `\9` escape sequences in string literals. 13 β”‚ let x = "\\1\9" 14 β”‚ let x = "foo\\1\9" > 15 β”‚ let x = "\\n\\n\8\\n" β”‚ ^^ 16 β”‚ let x = "\\n.\\n\8\\n" 17 β”‚ let x = "\\n.\\nn\8\\n" i The nonoctal decimal escape is a deprecated syntax that is left for compatibility and should not be used. i Unsafe fix: Replace \8 with 8. This maintains the current functionality. 13 13 β”‚ let x = "\\1\9" 14 14 β”‚ let x = "foo\\1\9" 15 β”‚ - letΒ·xΒ·=Β·"\\n\\n\8\\n" 15 β”‚ + letΒ·xΒ·=Β·"\\n\\n8\\n" 16 16 β”‚ let x = "\\n.\\n\8\\n" 17 17 β”‚ let x = "\\n.\\nn\8\\n" ``` ``` invalid.js:16:17 lint/correctness/noNonoctalDecimalEscape FIXABLE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ! Don't use `\8` and `\9` escape sequences in string literals. 14 β”‚ let x = "foo\\1\9" 15 β”‚ let x = "\\n\\n\8\\n" > 16 β”‚ let x = "\\n.\\n\8\\n" β”‚ ^^ 17 β”‚ let x = "\\n.\\nn\8\\n" 18 β”‚ let x = "\\πŸ‘\8" i The nonoctal decimal escape is a deprecated syntax that is left for compatibility and should not be used. i Unsafe fix: Replace \8 with 8. This maintains the current functionality. 14 14 β”‚ let x = "foo\\1\9" 15 15 β”‚ let x = "\\n\\n\8\\n" 16 β”‚ - letΒ·xΒ·=Β·"\\n.\\n\8\\n" 16 β”‚ + letΒ·xΒ·=Β·"\\n.\\n8\\n" 17 17 β”‚ let x = "\\n.\\nn\8\\n" 18 18 β”‚ let x = "\\πŸ‘\8" ``` ``` invalid.js:17:18 lint/correctness/noNonoctalDecimalEscape FIXABLE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ! Don't use `\8` and `\9` escape sequences in string literals. 15 β”‚ let x = "\\n\\n\8\\n" 16 β”‚ let x = "\\n.\\n\8\\n" > 17 β”‚ let x = "\\n.\\nn\8\\n" β”‚ ^^ 18 β”‚ let x = "\\πŸ‘\8" 19 β”‚ let x = "\\\8\9" i The nonoctal decimal escape is a deprecated syntax that is left for compatibility and should not be used. i Unsafe fix: Replace \8 with 8. This maintains the current functionality. 15 15 β”‚ let x = "\\n\\n\8\\n" 16 16 β”‚ let x = "\\n.\\n\8\\n" 17 β”‚ - letΒ·xΒ·=Β·"\\n.\\nn\8\\n" 17 β”‚ + letΒ·xΒ·=Β·"\\n.\\nn8\\n" 18 18 β”‚ let x = "\\πŸ‘\8" 19 19 β”‚ let x = "\\\8\9" ``` ``` invalid.js:18:13 lint/correctness/noNonoctalDecimalEscape FIXABLE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ! Don't use `\8` and `\9` escape sequences in string literals. 16 β”‚ let x = "\\n.\\n\8\\n" 17 β”‚ let x = "\\n.\\nn\8\\n" > 18 β”‚ let x = "\\πŸ‘\8" β”‚ ^^ 19 β”‚ let x = "\\\8\9" 20 β”‚ let x = "\8\\\9" i The nonoctal decimal escape is a deprecated syntax that is left for compatibility and should not be used. i Unsafe fix: Replace \8 with 8. This maintains the current functionality. 18 β”‚ letΒ·xΒ·=Β·"\\πŸ‘\8" β”‚ - ``` ``` invalid.js:19:12 lint/correctness/noNonoctalDecimalEscape FIXABLE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ! Don't use `\8` and `\9` escape sequences in string literals. 17 β”‚ let x = "\\n.\\nn\8\\n" 18 β”‚ let x = "\\πŸ‘\8" > 19 β”‚ let x = "\\\8\9" β”‚ ^^ 20 β”‚ let x = "\8\\\9" 21 β”‚ let x = "\8 \\\9" i The nonoctal decimal escape is a deprecated syntax that is left for compatibility and should not be used. i Unsafe fix: Replace \8 with 8. This maintains the current functionality. 19 β”‚ letΒ·xΒ·=Β·"\\\8\9" β”‚ - ``` ``` invalid.js:20:10 lint/correctness/noNonoctalDecimalEscape FIXABLE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ! Don't use `\8` and `\9` escape sequences in string literals. 18 β”‚ let x = "\\πŸ‘\8" 19 β”‚ let x = "\\\8\9" > 20 β”‚ let x = "\8\\\9" β”‚ ^^ 21 β”‚ let x = "\8 \\\9" 22 β”‚ let x = "\8\8" i The nonoctal decimal escape is a deprecated syntax that is left for compatibility and should not be used. i Unsafe fix: Replace \8 with 8. This maintains the current functionality. 20 β”‚ letΒ·xΒ·=Β·"\8\\\9" β”‚ - ``` ``` invalid.js:21:10 lint/correctness/noNonoctalDecimalEscape FIXABLE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ! Don't use `\8` and `\9` escape sequences in string literals. 19 β”‚ let x = "\\\8\9" 20 β”‚ let x = "\8\\\9" > 21 β”‚ let x = "\8 \\\9" β”‚ ^^ 22 β”‚ let x = "\8\8" 23 β”‚ let x = "\9\8" i The nonoctal decimal escape is a deprecated syntax that is left for compatibility and should not be used. i Unsafe fix: Replace \8 with 8. This maintains the current functionality. 21 β”‚ letΒ·xΒ·=Β·"\8Β·\\\9" β”‚ - ``` ``` invalid.js:21:15 lint/correctness/noNonoctalDecimalEscape FIXABLE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ! Don't use `\8` and `\9` escape sequences in string literals. 19 β”‚ let x = "\\\8\9" 20 β”‚ let x = "\8\\\9" > 21 β”‚ let x = "\8 \\\9" β”‚ ^^ 22 β”‚ let x = "\8\8" 23 β”‚ let x = "\9\8" i The nonoctal decimal escape is a deprecated syntax that is left for compatibility and should not be used. i Unsafe fix: Replace \9 with 9. This maintains the current functionality. 21 β”‚ letΒ·xΒ·=Β·"\8Β·\\\9" β”‚ - ``` ``` invalid.js:22:10 lint/correctness/noNonoctalDecimalEscape FIXABLE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ! Don't use `\8` and `\9` escape sequences in string literals. 20 β”‚ let x = "\8\\\9" 21 β”‚ let x = "\8 \\\9" > 22 β”‚ let x = "\8\8" β”‚ ^^ 23 β”‚ let x = "\9\8" 24 β”‚ let x = "foo\8bar\9baz" i The nonoctal decimal escape is a deprecated syntax that is left for compatibility and should not be used. i Unsafe fix: Replace \8 with 8. This maintains the current functionality. 22 β”‚ letΒ·xΒ·=Β·"\8\8" β”‚ - ``` ``` invalid.js:23:10 lint/correctness/noNonoctalDecimalEscape FIXABLE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ! Don't use `\8` and `\9` escape sequences in string literals. 21 β”‚ let x = "\8 \\\9" 22 β”‚ let x = "\8\8" > 23 β”‚ let x = "\9\8" β”‚ ^^ 24 β”‚ let x = "foo\8bar\9baz" 25 β”‚ let x = "\8\\1\9" i The nonoctal decimal escape is a deprecated syntax that is left for compatibility and should not be used. i Unsafe fix: Replace \9 with 9. This maintains the current functionality. 23 β”‚ letΒ·xΒ·=Β·"\9\8" β”‚ - ``` ``` invalid.js:24:13 lint/correctness/noNonoctalDecimalEscape FIXABLE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ! Don't use `\8` and `\9` escape sequences in string literals. 22 β”‚ let x = "\8\8" 23 β”‚ let x = "\9\8" > 24 β”‚ let x = "foo\8bar\9baz" β”‚ ^^ 25 β”‚ let x = "\8\\1\9" 26 β”‚ let x = "\9\\n9\\\9\9" i The nonoctal decimal escape is a deprecated syntax that is left for compatibility and should not be used. i Unsafe fix: Replace \8 with 8. This maintains the current functionality. 22 22 β”‚ let x = "\8\8" 23 23 β”‚ let x = "\9\8" 24 β”‚ - letΒ·xΒ·=Β·"foo\8bar\9baz" 24 β”‚ + letΒ·xΒ·=Β·"foo8bar\9baz" 25 25 β”‚ let x = "\8\\1\9" 26 26 β”‚ let x = "\9\\n9\\\9\9" ``` ``` invalid.js:24:18 lint/correctness/noNonoctalDecimalEscape FIXABLE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ! Don't use `\8` and `\9` escape sequences in string literals. 22 β”‚ let x = "\8\8" 23 β”‚ let x = "\9\8" > 24 β”‚ let x = "foo\8bar\9baz" β”‚ ^^ 25 β”‚ let x = "\8\\1\9" 26 β”‚ let x = "\9\\n9\\\9\9" i The nonoctal decimal escape is a deprecated syntax that is left for compatibility and should not be used. i Unsafe fix: Replace \9 with 9. This maintains the current functionality. 22 22 β”‚ let x = "\8\8" 23 23 β”‚ let x = "\9\8" 24 β”‚ - letΒ·xΒ·=Β·"foo\8bar\9baz" 24 β”‚ + letΒ·xΒ·=Β·"foo\8bar9baz" 25 25 β”‚ let x = "\8\\1\9" 26 26 β”‚ let x = "\9\\n9\\\9\9" ``` ``` invalid.js:25:10 lint/correctness/noNonoctalDecimalEscape FIXABLE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ! Don't use `\8` and `\9` escape sequences in string literals. 23 β”‚ let x = "\9\8" 24 β”‚ let x = "foo\8bar\9baz" > 25 β”‚ let x = "\8\\1\9" β”‚ ^^ 26 β”‚ let x = "\9\\n9\\\9\9" 27 β”‚ let x = "\8\\\\\9" i The nonoctal decimal escape is a deprecated syntax that is left for compatibility and should not be used. i Unsafe fix: Replace \8 with 8. This maintains the current functionality. 25 β”‚ letΒ·xΒ·=Β·"\8\\1\9" β”‚ - ``` ``` invalid.js:25:15 lint/correctness/noNonoctalDecimalEscape FIXABLE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ! Don't use `\8` and `\9` escape sequences in string literals. 23 β”‚ let x = "\9\8" 24 β”‚ let x = "foo\8bar\9baz" > 25 β”‚ let x = "\8\\1\9" β”‚ ^^ 26 β”‚ let x = "\9\\n9\\\9\9" 27 β”‚ let x = "\8\\\\\9" i The nonoctal decimal escape is a deprecated syntax that is left for compatibility and should not be used. i Unsafe fix: Replace \9 with 9. This maintains the current functionality. 23 23 β”‚ let x = "\9\8" 24 24 β”‚ let x = "foo\8bar\9baz" 25 β”‚ - letΒ·xΒ·=Β·"\8\\1\9" 25 β”‚ + letΒ·xΒ·=Β·"\8\\19" 26 26 β”‚ let x = "\9\\n9\\\9\9" 27 27 β”‚ let x = "\8\\\\\9" ``` ``` invalid.js:26:10 lint/correctness/noNonoctalDecimalEscape FIXABLE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ! Don't use `\8` and `\9` escape sequences in string literals. 24 β”‚ let x = "foo\8bar\9baz" 25 β”‚ let x = "\8\\1\9" > 26 β”‚ let x = "\9\\n9\\\9\9" β”‚ ^^ 27 β”‚ let x = "\8\\\\\9" 28 β”‚ let x = "var foo = '\8'; bar('\9')" i The nonoctal decimal escape is a deprecated syntax that is left for compatibility and should not be used. i Unsafe fix: Replace \9 with 9. This maintains the current functionality. 26 β”‚ letΒ·xΒ·=Β·"\9\\n9\\\9\9" β”‚ - ``` ``` invalid.js:26:18 lint/correctness/noNonoctalDecimalEscape FIXABLE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ! Don't use `\8` and `\9` escape sequences in string literals. 24 β”‚ let x = "foo\8bar\9baz" 25 β”‚ let x = "\8\\1\9" > 26 β”‚ let x = "\9\\n9\\\9\9" β”‚ ^^ 27 β”‚ let x = "\8\\\\\9" 28 β”‚ let x = "var foo = '\8'; bar('\9')" i The nonoctal decimal escape is a deprecated syntax that is left for compatibility and should not be used. i Unsafe fix: Replace \9 with 9. This maintains the current functionality. 26 β”‚ letΒ·xΒ·=Β·"\9\\n9\\\9\9" β”‚ - ``` ``` invalid.js:27:10 lint/correctness/noNonoctalDecimalEscape FIXABLE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ! Don't use `\8` and `\9` escape sequences in string literals. 25 β”‚ let x = "\8\\1\9" 26 β”‚ let x = "\9\\n9\\\9\9" > 27 β”‚ let x = "\8\\\\\9" β”‚ ^^ 28 β”‚ let x = "var foo = '\8'; bar('\9')" 29 β”‚ let x = "var foo = '8'\n bar = '\9'" i The nonoctal decimal escape is a deprecated syntax that is left for compatibility and should not be used. i Unsafe fix: Replace \8 with 8. This maintains the current functionality. 27 β”‚ letΒ·xΒ·=Β·"\8\\\\\9" β”‚ - ``` ``` invalid.js:28:21 lint/correctness/noNonoctalDecimalEscape FIXABLE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ! Don't use `\8` and `\9` escape sequences in string literals. 26 β”‚ let x = "\9\\n9\\\9\9" 27 β”‚ let x = "\8\\\\\9" > 28 β”‚ let x = "var foo = '\8'; bar('\9')" β”‚ ^^ 29 β”‚ let x = "var foo = '8'\n bar = '\9'" 30 β”‚ let x = "\\\n\8" i The nonoctal decimal escape is a deprecated syntax that is left for compatibility and should not be used. i Unsafe fix: Replace \8 with 8. This maintains the current functionality. 28 β”‚ letΒ·xΒ·=Β·"varΒ·fooΒ·=Β·'\8';Β·bar('\9')" β”‚ - ``` ``` invalid.js:28:31 lint/correctness/noNonoctalDecimalEscape FIXABLE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ! Don't use `\8` and `\9` escape sequences in string literals. 26 β”‚ let x = "\9\\n9\\\9\9" 27 β”‚ let x = "\8\\\\\9" > 28 β”‚ let x = "var foo = '\8'; bar('\9')" β”‚ ^^ 29 β”‚ let x = "var foo = '8'\n bar = '\9'" 30 β”‚ let x = "\\\n\8" i The nonoctal decimal escape is a deprecated syntax that is left for compatibility and should not be used. i Unsafe fix: Replace \9 with 9. This maintains the current functionality. 28 β”‚ letΒ·xΒ·=Β·"varΒ·fooΒ·=Β·'\8';Β·bar('\9')" β”‚ - ``` ``` invalid.js:29:34 lint/correctness/noNonoctalDecimalEscape FIXABLE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ! Don't use `\8` and `\9` escape sequences in string literals. 27 β”‚ let x = "\8\\\\\9" 28 β”‚ let x = "var foo = '\8'; bar('\9')" > 29 β”‚ let x = "var foo = '8'\n bar = '\9'" β”‚ ^^ 30 β”‚ let x = "\\\n\8" 31 β”‚ let x = "\\\r\n\9" i The nonoctal decimal escape is a deprecated syntax that is left for compatibility and should not be used. i Unsafe fix: Replace \9 with 9. This maintains the current functionality. 29 β”‚ letΒ·xΒ·=Β·"varΒ·fooΒ·=Β·'8'\nΒ·Β·barΒ·=Β·'\9'" β”‚ - ``` ``` invalid.js:30:14 lint/correctness/noNonoctalDecimalEscape FIXABLE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ! Don't use `\8` and `\9` escape sequences in string literals. 28 β”‚ let x = "var foo = '\8'; bar('\9')" 29 β”‚ let x = "var foo = '8'\n bar = '\9'" > 30 β”‚ let x = "\\\n\8" β”‚ ^^ 31 β”‚ let x = "\\\r\n\9" 32 β”‚ let x = "\\\\\n\8" i The nonoctal decimal escape is a deprecated syntax that is left for compatibility and should not be used. i Unsafe fix: Replace \8 with 8. This maintains the current functionality. 28 28 β”‚ let x = "var foo = '\8'; bar('\9')" 29 29 β”‚ let x = "var foo = '8'\n bar = '\9'" 30 β”‚ - letΒ·xΒ·=Β·"\\\n\8" 30 β”‚ + letΒ·xΒ·=Β·"\\\n8" 31 31 β”‚ let x = "\\\r\n\9" 32 32 β”‚ let x = "\\\\\n\8" ``` ``` invalid.js:31:16 lint/correctness/noNonoctalDecimalEscape FIXABLE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ! Don't use `\8` and `\9` escape sequences in string literals. 29 β”‚ let x = "var foo = '8'\n bar = '\9'" 30 β”‚ let x = "\\\n\8" > 31 β”‚ let x = "\\\r\n\9" β”‚ ^^ 32 β”‚ let x = "\\\\\n\8" 33 β”‚ let x = "foo\\\nbar\9baz" i The nonoctal decimal escape is a deprecated syntax that is left for compatibility and should not be used. i Unsafe fix: Replace \9 with 9. This maintains the current functionality. 29 29 β”‚ let x = "var foo = '8'\n bar = '\9'" 30 30 β”‚ let x = "\\\n\8" 31 β”‚ - letΒ·xΒ·=Β·"\\\r\n\9" 31 β”‚ + letΒ·xΒ·=Β·"\\\r\n9" 32 32 β”‚ let x = "\\\\\n\8" 33 33 β”‚ let x = "foo\\\nbar\9baz" ``` ``` invalid.js:32:16 lint/correctness/noNonoctalDecimalEscape FIXABLE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ! Don't use `\8` and `\9` escape sequences in string literals. 30 β”‚ let x = "\\\n\8" 31 β”‚ let x = "\\\r\n\9" > 32 β”‚ let x = "\\\\\n\8" β”‚ ^^ 33 β”‚ let x = "foo\\\nbar\9baz" 34 β”‚ let x = "\\0\8" i The nonoctal decimal escape is a deprecated syntax that is left for compatibility and should not be used. i Unsafe fix: Replace \8 with 8. This maintains the current functionality. 30 30 β”‚ let x = "\\\n\8" 31 31 β”‚ let x = "\\\r\n\9" 32 β”‚ - letΒ·xΒ·=Β·"\\\\\n\8" 32 β”‚ + letΒ·xΒ·=Β·"\\\\\n8" 33 33 β”‚ let x = "foo\\\nbar\9baz" 34 34 β”‚ let x = "\\0\8" ``` ``` invalid.js:33:20 lint/correctness/noNonoctalDecimalEscape FIXABLE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ! Don't use `\8` and `\9` escape sequences in string literals. 31 β”‚ let x = "\\\r\n\9" 32 β”‚ let x = "\\\\\n\8" > 33 β”‚ let x = "foo\\\nbar\9baz" β”‚ ^^ 34 β”‚ let x = "\\0\8" 35 β”‚ let x = "foo\\0\9bar" i The nonoctal decimal escape is a deprecated syntax that is left for compatibility and should not be used. i Unsafe fix: Replace \9 with 9. This maintains the current functionality. 31 31 β”‚ let x = "\\\r\n\9" 32 32 β”‚ let x = "\\\\\n\8" 33 β”‚ - letΒ·xΒ·=Β·"foo\\\nbar\9baz" 33 β”‚ + letΒ·xΒ·=Β·"foo\\\nbar9baz" 34 34 β”‚ let x = "\\0\8" 35 35 β”‚ let x = "foo\\0\9bar" ``` ``` invalid.js:34:11 lint/correctness/noNonoctalDecimalEscape FIXABLE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ! Don't use `\8` and `\9` escape sequences in string literals. 32 β”‚ let x = "\\\\\n\8" 33 β”‚ let x = "foo\\\nbar\9baz" > 34 β”‚ let x = "\\0\8" β”‚ ^^^^ 35 β”‚ let x = "foo\\0\9bar" 36 β”‚ let x = "\\1\\0\8" i The nonoctal decimal escape is a deprecated syntax that is left for compatibility and should not be used. i Unsafe fix: Replace \0\8 with \u00008. This maintains the current functionality. 32 32 β”‚ let x = "\\\\\n\8" 33 33 β”‚ let x = "foo\\\nbar\9baz" 34 β”‚ - letΒ·xΒ·=Β·"\\0\8" 34 β”‚ + letΒ·xΒ·=Β·"\\u00008" 35 35 β”‚ let x = "foo\\0\9bar" 36 36 β”‚ let x = "\\1\\0\8" ``` ``` invalid.js:34:13 lint/correctness/noNonoctalDecimalEscape FIXABLE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ! Don't use `\8` and `\9` escape sequences in string literals. 32 β”‚ let x = "\\\\\n\8" 33 β”‚ let x = "foo\\\nbar\9baz" > 34 β”‚ let x = "\\0\8" β”‚ ^^ 35 β”‚ let x = "foo\\0\9bar" 36 β”‚ let x = "\\1\\0\8" i The nonoctal decimal escape is a deprecated syntax that is left for compatibility and should not be used. i Unsafe fix: Replace \8 with \u0038. This maintains the current functionality. 32 32 β”‚ let x = "\\\\\n\8" 33 33 β”‚ let x = "foo\\\nbar\9baz" 34 β”‚ - letΒ·xΒ·=Β·"\\0\8" 34 β”‚ + letΒ·xΒ·=Β·"\\0\u0038" 35 35 β”‚ let x = "foo\\0\9bar" 36 36 β”‚ let x = "\\1\\0\8" ``` ``` invalid.js:35:14 lint/correctness/noNonoctalDecimalEscape FIXABLE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ! Don't use `\8` and `\9` escape sequences in string literals. 33 β”‚ let x = "foo\\\nbar\9baz" 34 β”‚ let x = "\\0\8" > 35 β”‚ let x = "foo\\0\9bar" β”‚ ^^^^ 36 β”‚ let x = "\\1\\0\8" 37 β”‚ let x = "\\0\8\9" i The nonoctal decimal escape is a deprecated syntax that is left for compatibility and should not be used. i Unsafe fix: Replace \0\9 with \u00009. This maintains the current functionality. 33 33 β”‚ let x = "foo\\\nbar\9baz" 34 34 β”‚ let x = "\\0\8" 35 β”‚ - letΒ·xΒ·=Β·"foo\\0\9bar" 35 β”‚ + letΒ·xΒ·=Β·"foo\\u00009bar" 36 36 β”‚ let x = "\\1\\0\8" 37 37 β”‚ let x = "\\0\8\9" ``` ``` invalid.js:35:16 lint/correctness/noNonoctalDecimalEscape FIXABLE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ! Don't use `\8` and `\9` escape sequences in string literals. 33 β”‚ let x = "foo\\\nbar\9baz" 34 β”‚ let x = "\\0\8" > 35 β”‚ let x = "foo\\0\9bar" β”‚ ^^ 36 β”‚ let x = "\\1\\0\8" 37 β”‚ let x = "\\0\8\9" i The nonoctal decimal escape is a deprecated syntax that is left for compatibility and should not be used. i Unsafe fix: Replace \9 with \u0039. This maintains the current functionality. 33 33 β”‚ let x = "foo\\\nbar\9baz" 34 34 β”‚ let x = "\\0\8" 35 β”‚ - letΒ·xΒ·=Β·"foo\\0\9bar" 35 β”‚ + letΒ·xΒ·=Β·"foo\\0\u0039bar" 36 36 β”‚ let x = "\\1\\0\8" 37 37 β”‚ let x = "\\0\8\9" ``` ``` invalid.js:36:14 lint/correctness/noNonoctalDecimalEscape FIXABLE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ! Don't use `\8` and `\9` escape sequences in string literals. 34 β”‚ let x = "\\0\8" 35 β”‚ let x = "foo\\0\9bar" > 36 β”‚ let x = "\\1\\0\8" β”‚ ^^^^ 37 β”‚ let x = "\\0\8\9" 38 β”‚ let x = "\8\\0\9" i The nonoctal decimal escape is a deprecated syntax that is left for compatibility and should not be used. i Unsafe fix: Replace \0\8 with \u00008. This maintains the current functionality. 34 34 β”‚ let x = "\\0\8" 35 35 β”‚ let x = "foo\\0\9bar" 36 β”‚ - letΒ·xΒ·=Β·"\\1\\0\8" 36 β”‚ + letΒ·xΒ·=Β·"\\1\\u00008" 37 37 β”‚ let x = "\\0\8\9" 38 38 β”‚ let x = "\8\\0\9" ``` ``` invalid.js:36:16 lint/correctness/noNonoctalDecimalEscape FIXABLE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ! Don't use `\8` and `\9` escape sequences in string literals. 34 β”‚ let x = "\\0\8" 35 β”‚ let x = "foo\\0\9bar" > 36 β”‚ let x = "\\1\\0\8" β”‚ ^^ 37 β”‚ let x = "\\0\8\9" 38 β”‚ let x = "\8\\0\9" i The nonoctal decimal escape is a deprecated syntax that is left for compatibility and should not be used. i Unsafe fix: Replace \8 with \u0038. This maintains the current functionality. 34 34 β”‚ let x = "\\0\8" 35 35 β”‚ let x = "foo\\0\9bar" 36 β”‚ - letΒ·xΒ·=Β·"\\1\\0\8" 36 β”‚ + letΒ·xΒ·=Β·"\\1\\0\u0038" 37 37 β”‚ let x = "\\0\8\9" 38 38 β”‚ let x = "\8\\0\9" ``` ``` invalid.js:37:11 lint/correctness/noNonoctalDecimalEscape FIXABLE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ! Don't use `\8` and `\9` escape sequences in string literals. 35 β”‚ let x = "foo\\0\9bar" 36 β”‚ let x = "\\1\\0\8" > 37 β”‚ let x = "\\0\8\9" β”‚ ^^^^ 38 β”‚ let x = "\8\\0\9" 39 β”‚ let x = "0\8" i The nonoctal decimal escape is a deprecated syntax that is left for compatibility and should not be used. i Unsafe fix: Replace \0\8 with \u00008. This maintains the current functionality. 35 35 β”‚ let x = "foo\\0\9bar" 36 36 β”‚ let x = "\\1\\0\8" 37 β”‚ - letΒ·xΒ·=Β·"\\0\8\9" 37 β”‚ + letΒ·xΒ·=Β·"\\u00008\9" 38 38 β”‚ let x = "\8\\0\9" 39 39 β”‚ let x = "0\8" ``` ``` invalid.js:37:13 lint/correctness/noNonoctalDecimalEscape FIXABLE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ! Don't use `\8` and `\9` escape sequences in string literals. 35 β”‚ let x = "foo\\0\9bar" 36 β”‚ let x = "\\1\\0\8" > 37 β”‚ let x = "\\0\8\9" β”‚ ^^ 38 β”‚ let x = "\8\\0\9" 39 β”‚ let x = "0\8" i The nonoctal decimal escape is a deprecated syntax that is left for compatibility and should not be used. i Unsafe fix: Replace \8 with \u0038. This maintains the current functionality. 35 35 β”‚ let x = "foo\\0\9bar" 36 36 β”‚ let x = "\\1\\0\8" 37 β”‚ - letΒ·xΒ·=Β·"\\0\8\9" 37 β”‚ + letΒ·xΒ·=Β·"\\0\u0038\9" 38 38 β”‚ let x = "\8\\0\9" 39 39 β”‚ let x = "0\8" ``` ``` invalid.js:38:10 lint/correctness/noNonoctalDecimalEscape FIXABLE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ! Don't use `\8` and `\9` escape sequences in string literals. 36 β”‚ let x = "\\1\\0\8" 37 β”‚ let x = "\\0\8\9" > 38 β”‚ let x = "\8\\0\9" β”‚ ^^ 39 β”‚ let x = "0\8" 40 β”‚ let x = "\\0\8" i The nonoctal decimal escape is a deprecated syntax that is left for compatibility and should not be used. i Unsafe fix: Replace \8 with 8. This maintains the current functionality. 38 β”‚ letΒ·xΒ·=Β·"\8\\0\9" β”‚ - ``` ``` invalid.js:38:13 lint/correctness/noNonoctalDecimalEscape FIXABLE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ! Don't use `\8` and `\9` escape sequences in string literals. 36 β”‚ let x = "\\1\\0\8" 37 β”‚ let x = "\\0\8\9" > 38 β”‚ let x = "\8\\0\9" β”‚ ^^^^ 39 β”‚ let x = "0\8" 40 β”‚ let x = "\\0\8" i The nonoctal decimal escape is a deprecated syntax that is left for compatibility and should not be used. i Unsafe fix: Replace \0\9 with \u00009. This maintains the current functionality. 36 36 β”‚ let x = "\\1\\0\8" 37 37 β”‚ let x = "\\0\8\9" 38 β”‚ - letΒ·xΒ·=Β·"\8\\0\9" 38 β”‚ + letΒ·xΒ·=Β·"\8\\u00009" 39 39 β”‚ let x = "0\8" 40 40 β”‚ let x = "\\0\8" ``` ``` invalid.js:38:15 lint/correctness/noNonoctalDecimalEscape FIXABLE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ! Don't use `\8` and `\9` escape sequences in string literals. 36 β”‚ let x = "\\1\\0\8" 37 β”‚ let x = "\\0\8\9" > 38 β”‚ let x = "\8\\0\9" β”‚ ^^ 39 β”‚ let x = "0\8" 40 β”‚ let x = "\\0\8" i The nonoctal decimal escape is a deprecated syntax that is left for compatibility and should not be used. i Unsafe fix: Replace \9 with \u0039. This maintains the current functionality. 36 36 β”‚ let x = "\\1\\0\8" 37 37 β”‚ let x = "\\0\8\9" 38 β”‚ - letΒ·xΒ·=Β·"\8\\0\9" 38 β”‚ + letΒ·xΒ·=Β·"\8\\0\u0039" 39 39 β”‚ let x = "0\8" 40 40 β”‚ let x = "\\0\8" ``` ``` invalid.js:39:11 lint/correctness/noNonoctalDecimalEscape FIXABLE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ! Don't use `\8` and `\9` escape sequences in string literals. 37 β”‚ let x = "\\0\8\9" 38 β”‚ let x = "\8\\0\9" > 39 β”‚ let x = "0\8" β”‚ ^^ 40 β”‚ let x = "\\0\8" 41 β”‚ let x = "\0 \8" i The nonoctal decimal escape is a deprecated syntax that is left for compatibility and should not be used. i Unsafe fix: Replace \8 with 8. This maintains the current functionality. 37 37 β”‚ let x = "\\0\8\9" 38 38 β”‚ let x = "\8\\0\9" 39 β”‚ - letΒ·xΒ·=Β·"0\8" 39 β”‚ + letΒ·xΒ·=Β·"08" 40 40 β”‚ let x = "\\0\8" 41 41 β”‚ let x = "\0 \8" ``` ``` invalid.js:40:11 lint/correctness/noNonoctalDecimalEscape FIXABLE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ! Don't use `\8` and `\9` escape sequences in string literals. 38 β”‚ let x = "\8\\0\9" 39 β”‚ let x = "0\8" > 40 β”‚ let x = "\\0\8" β”‚ ^^^^ 41 β”‚ let x = "\0 \8" 42 β”‚ let x = "\01\8" i The nonoctal decimal escape is a deprecated syntax that is left for compatibility and should not be used. i Unsafe fix: Replace \0\8 with \u00008. This maintains the current functionality. 38 38 β”‚ let x = "\8\\0\9" 39 39 β”‚ let x = "0\8" 40 β”‚ - letΒ·xΒ·=Β·"\\0\8" 40 β”‚ + letΒ·xΒ·=Β·"\\u00008" 41 41 β”‚ let x = "\0 \8" 42 42 β”‚ let x = "\01\8" ``` ``` invalid.js:40:13 lint/correctness/noNonoctalDecimalEscape FIXABLE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ! Don't use `\8` and `\9` escape sequences in string literals. 38 β”‚ let x = "\8\\0\9" 39 β”‚ let x = "0\8" > 40 β”‚ let x = "\\0\8" β”‚ ^^ 41 β”‚ let x = "\0 \8" 42 β”‚ let x = "\01\8" i The nonoctal decimal escape is a deprecated syntax that is left for compatibility and should not be used. i Unsafe fix: Replace \8 with \u0038. This maintains the current functionality. 38 38 β”‚ let x = "\8\\0\9" 39 39 β”‚ let x = "0\8" 40 β”‚ - letΒ·xΒ·=Β·"\\0\8" 40 β”‚ + letΒ·xΒ·=Β·"\\0\u0038" 41 41 β”‚ let x = "\0 \8" 42 42 β”‚ let x = "\01\8" ``` ``` invalid.js:41:13 lint/correctness/noNonoctalDecimalEscape FIXABLE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ! Don't use `\8` and `\9` escape sequences in string literals. 39 β”‚ let x = "0\8" 40 β”‚ let x = "\\0\8" > 41 β”‚ let x = "\0 \8" β”‚ ^^ 42 β”‚ let x = "\01\8" 43 β”‚ let x = "\0\1\8" i The nonoctal decimal escape is a deprecated syntax that is left for compatibility and should not be used. i Unsafe fix: Replace \8 with 8. This maintains the current functionality. 41 β”‚ letΒ·xΒ·=Β·"\0Β·\8" β”‚ - ``` ``` invalid.js:42:13 lint/correctness/noNonoctalDecimalEscape FIXABLE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ! Don't use `\8` and `\9` escape sequences in string literals. 40 β”‚ let x = "\\0\8" 41 β”‚ let x = "\0 \8" > 42 β”‚ let x = "\01\8" β”‚ ^^ 43 β”‚ let x = "\0\1\8" 44 β”‚ let x = "\0\\n\8" i The nonoctal decimal escape is a deprecated syntax that is left for compatibility and should not be used. i Unsafe fix: Replace \8 with 8. This maintains the current functionality. 40 40 β”‚ let x = "\\0\8" 41 41 β”‚ let x = "\0 \8" 42 β”‚ - letΒ·xΒ·=Β·"\01\8" 42 β”‚ + letΒ·xΒ·=Β·"\018" 43 43 β”‚ let x = "\0\1\8" 44 44 β”‚ let x = "\0\\n\8" ``` ``` invalid.js:43:14 lint/correctness/noNonoctalDecimalEscape FIXABLE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ! Don't use `\8` and `\9` escape sequences in string literals. 41 β”‚ let x = "\0 \8" 42 β”‚ let x = "\01\8" > 43 β”‚ let x = "\0\1\8" β”‚ ^^ 44 β”‚ let x = "\0\\n\8" 45 β”‚ i The nonoctal decimal escape is a deprecated syntax that is left for compatibility and should not be used. i Unsafe fix: Replace \8 with 8. This maintains the current functionality. 41 41 β”‚ let x = "\0 \8" 42 42 β”‚ let x = "\01\8" 43 β”‚ - letΒ·xΒ·=Β·"\0\1\8" 43 β”‚ + letΒ·xΒ·=Β·"\0\18" 44 44 β”‚ let x = "\0\\n\8" 45 45 β”‚ ``` ``` invalid.js:44:15 lint/correctness/noNonoctalDecimalEscape FIXABLE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ! Don't use `\8` and `\9` escape sequences in string literals. 42 β”‚ let x = "\01\8" 43 β”‚ let x = "\0\1\8" > 44 β”‚ let x = "\0\\n\8" β”‚ ^^ 45 β”‚ i The nonoctal decimal escape is a deprecated syntax that is left for compatibility and should not be used. i Unsafe fix: Replace \8 with 8. This maintains the current functionality. 42 42 β”‚ let x = "\01\8" 43 43 β”‚ let x = "\0\1\8" 44 β”‚ - letΒ·xΒ·=Β·"\0\\n\8" 44 β”‚ + letΒ·xΒ·=Β·"\0\\n8" 45 45 β”‚ ```