tools: enable linter in test/fixtures/errors

PR-URL: https://github.com/nodejs/node/pull/57701
Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
Reviewed-By: Jake Yuesong Li <jake.yuesong@gmail.com>
This commit is contained in:
Antoine du Hamel authored and RafaelGSS committed 2025-05-02 17:05:58 -03:00
1 parent 766d9a8eac
commit b9043c9e9b
6 files changed
+9 -7

No files matched your search

+1
View File
@@ -60,6 +60,7 @@ export default [
// We want to lint only a few specific fixtures folders
'test/fixtures/*',
'!test/fixtures/console',
'!test/fixtures/errors',
'!test/fixtures/eval',
'!test/fixtures/test-runner',
'test/fixtures/test-runner/*',
+2 -1
View File
@@ -1 +1,2 @@
throw new Error('Should include grayed stack trace')
'use strict';
throw new Error('Should include grayed stack trace');
+3 -3
View File
@@ -1,9 +1,9 @@
*force_colors.js:1
throw new Error('Should include grayed stack trace')
*force_colors.js:2
throw new Error('Should include grayed stack trace');
^
Error: Should include grayed stack trace
at Object.<anonymous> (/test*force_colors.js:1:7)
at Object.<anonymous> (/test*force_colors.js:2:7)
 at *
 at *
 at *
+1 -1
View File
@@ -6,4 +6,4 @@ eval(`
throw new Error('error in anonymous script');
`)
`);
+1 -1
View File
@@ -6,4 +6,4 @@ eval(`
throw new Error('error in named script');
//# sourceURL=evalscript.js`)
//# sourceURL=evalscript.js`);
+1 -1
View File
@@ -19,7 +19,7 @@
// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
// USE OR OTHER DEALINGS IN THE SOFTWARE.
/* eslint-disable indent, no-tabs */
/* eslint-disable @stylistic/js/indent, @stylistic/js/no-tabs */
'use strict';
require('../../common');