Skip to content

Commit

Permalink
add test for new eslint-plugin-unicorn rule
Browse files Browse the repository at this point in the history
  • Loading branch information
dangowans committed Oct 4, 2024
1 parent 8e60bf0 commit 8f377b8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions samples/main.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import 'missing-package';
import './missing';
const FilePath = __dirname + '/file.txt';
const whitelist = ['a', 'b', 'c'];
let maxVal = 50 > 100 ? 50 : 100;
fs.exists(FilePath);
var emailExpression = /^([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$/;
const API_KEY = "ZWVTjPQSdhwRgl204Hc51YCsritMIzn8B=/p9UyeX7xu6KkAGqfm3FJ+oObLDNEva";
Expand Down
2 changes: 2 additions & 0 deletions samples/main.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ const FilePath = __dirname + '/file.txt'

const whitelist = ['a', 'b', 'c']

let maxVal = 50 > 100 ? 50 : 100

fs.exists(FilePath)

var emailExpression = /^([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$/;
Expand Down

0 comments on commit 8f377b8

Please sign in to comment.