mirror of
https://github.com/theoludwig/eslint-config-conventions.git
synced 2025-05-18 12:02:33 +02:00
chore: initial commit
This commit is contained in:
5
test/fixtures/javascript-no-errors.js
vendored
Normal file
5
test/fixtures/javascript-no-errors.js
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
const foo = 1
|
||||
const bar = (argument) => {
|
||||
return argument + foo
|
||||
}
|
||||
bar(foo)
|
1
test/fixtures/javascript-with-errors.js
vendored
Normal file
1
test/fixtures/javascript-with-errors.js
vendored
Normal file
@ -0,0 +1 @@
|
||||
'invalid eqeqeq' == 'invalid eqeqeq'
|
3
test/fixtures/top-level-await.mjs
vendored
Normal file
3
test/fixtures/top-level-await.mjs
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
const foo = await 1
|
||||
const bar = function () {}
|
||||
await bar(foo)
|
5
test/fixtures/typescript-no-errors.ts
vendored
Normal file
5
test/fixtures/typescript-no-errors.ts
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
const foo = 1
|
||||
const bar = (argument: number): number => {
|
||||
return argument + foo
|
||||
}
|
||||
bar(foo)
|
5
test/fixtures/typescript-with-errors.ts
vendored
Normal file
5
test/fixtures/typescript-with-errors.ts
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
const foo = 1
|
||||
const bar = (argument: number) => {
|
||||
return argument + foo
|
||||
}
|
||||
bar(foo)
|
Reference in New Issue
Block a user