-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
make sure test file hits all plugins
- Loading branch information
Showing
2 changed files
with
45 additions
and
8 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 |
---|---|---|
@@ -1,5 +1,20 @@ | ||
export function test_fn(varName) { | ||
// This function is purposely formatted badly to ensure the | ||
/* eslint-disable no-multi-spaces */ | ||
import './missing'; | ||
export async function test_fn(varName) { | ||
// This files has purposely formatted badly to ensure the | ||
// ESLint configuration is loading correctly. | ||
return varName + ' ' + 2; | ||
var VAR = /[0-9\d]/g; | ||
return varName + 'test' + ' ' + 2; | ||
} | ||
let tst = `test`; | ||
async function promiseTst(param1, param2, param3, param4, param5, param6) { | ||
return new Promise(function (resolve, reject) { | ||
for (let i = 1; i <= 1; i++) { | ||
// | ||
} | ||
if (1 == 1) | ||
return 'test' + 'test' + 'test' + 'test' + 'test'; | ||
return 'test' | 'test'; | ||
}).then((val) => { | ||
}); | ||
} |
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 |
---|---|---|
@@ -1,14 +1,36 @@ | ||
|
||
/* eslint-disable no-multi-spaces */ | ||
|
||
import path from 'path' | ||
import fs from 'fs' | ||
|
||
export function test_fn (varName) { | ||
import './missing' | ||
|
||
|
||
// This function is purposely formatted badly to ensure the | ||
// ESLint configuration is loading correctly. | ||
export async function test_fn (varName) { | ||
|
||
// This files has purposely formatted badly to ensure the | ||
// ESLint configuration is loading correctly. | ||
|
||
var VAR = /[0-9\d]/g | ||
|
||
return varName + ' ' + 2; | ||
return varName + 'test' + ' ' + 2; | ||
|
||
} | ||
|
||
let tst = `test` | ||
|
||
async function promiseTst (param1, param2, param3, param4, param5, param6) { | ||
return new Promise(function (resolve, reject) { | ||
for (let i = 1; i <= 1; i ++) { | ||
// | ||
} | ||
|
||
if (1 == 1) | ||
return 'test' + 'test' + 'test' + 'test'+ 'test' | ||
return 'test' | 'test' | ||
}).then((val) => { | ||
|
||
}) | ||
} | ||
|
||
} |