mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-19 08:02:55 +00:00
test: add eslint config validation
This commit is contained in:
12
test/test-file.ts
Normal file
12
test/test-file.ts
Normal file
@@ -0,0 +1,12 @@
|
||||
/**
|
||||
* Simple TS source file to get linted
|
||||
* Can be used to verify new/changed rule behavior
|
||||
*/
|
||||
function addNumbers(a: number, b: number) {
|
||||
return a + b;
|
||||
}
|
||||
|
||||
const sum: number = addNumbers(10, 15);
|
||||
|
||||
// eslint-disable-next-line no-console
|
||||
console.log('Sum of the two numbers is: ' + sum);
|
||||
Reference in New Issue
Block a user