1
1
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:
Divlo
2022-02-19 16:05:21 +01:00
commit b79a5fbcb0
38 changed files with 17334 additions and 0 deletions

5
test/fixtures/javascript-no-errors.js vendored Normal file
View File

@ -0,0 +1,5 @@
const foo = 1
const bar = (argument) => {
return argument + foo
}
bar(foo)

View File

@ -0,0 +1 @@
'invalid eqeqeq' == 'invalid eqeqeq'

3
test/fixtures/top-level-await.mjs vendored Normal file
View 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
View File

@ -0,0 +1,5 @@
const foo = 1
const bar = (argument: number): number => {
return argument + foo
}
bar(foo)

View File

@ -0,0 +1,5 @@
const foo = 1
const bar = (argument: number) => {
return argument + foo
}
bar(foo)