Skip to content

Commit

Permalink
test for eslint 2 (#19)
Browse files Browse the repository at this point in the history
* [Task] #5 EsLint configuration

Includes vscode highlighting and npm command

* Update eslint.yml

* [Task] #5 Create eslint.yml

* Update eslint.yml

* Create devskim.yml

* [Task] #5 configure new ESLint workflow

* [Task] #1 added installation guide to repro

* Create lint

* Update eslint.yml

* test for eslint 2
  • Loading branch information
Type-Style authored Jan 10, 2024
1 parent 812aee4 commit df7f2d4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ const app = express();
const port = 80;

app.get('/', (req: Request, res: Response) => {
var test = "test";

Check failure on line 8 in src/app.ts

View workflow job for this annotation

GitHub Actions / eslint

Unexpected var, use let or const instead

Check failure on line 8 in src/app.ts

View workflow job for this annotation

GitHub Actions / eslint

'test' is assigned a value but never used
res.send('Hello World, via TypeScript and Node.js!');

});
Expand Down

0 comments on commit df7f2d4

Please sign in to comment.