You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use VSCode as code editor (I don't know is this mean something or not).
In the OUTPUT I see this:
[Info - 9:34:08 AM] ESLint server is starting
[Info - 9:34:08 AM] ESLint server running in node v16.14.2
[Info - 9:34:08 AM] ESLint server is running.
[Info - 9:34:09 AM] ESLint library loaded from: /home/djw/code/myproject/angular/node_modules/eslint/lib/api.js
So there is no error or warning.
A clear and concise description of what the bug is
To Reproduce
Create this spec.ts file:
describe('Post model',()=>{constmockPresentDate='2022-06-03';
let model: PostInterface;beforeEach(()=>{// ....});it('should be set published_at property, when publish_date is updated',()=>{model.publish_date='2021-04-25';expect(model.published_at).toEqual('2021-04-25 00:00:00');});fit('should be set meta_description',()=>{});it('should be set meta_description',()=>{consttext='Lorem ipsum...';model.meta_description=text;expect(model.meta_description.length).toEqual(255);expect(model.meta_description).toEqual('Lorem ipsum...');});});
So I broke several rules with this code, like missing-expect, new-line-before-expect, no-spec-dupes.
Steps to reproduce the behaviour
Expected behaviour is to give me errors and warnings,
A clear and concise description of what you expected to happen.
Context
Node.js version: v16.14.2
eslint-plugin-jasmine version: 4.1.3
eslint version: 8.2.0
Operating system: Ubuntu 20.04 in WSL2 running on Windows 10 Home
Additonal info
I tried to run with ng lint command, there isn't an error or warning too.
The text was updated successfully, but these errors were encountered:
Describe the bug
I followed the documentation to set up this plugin in my project, and I created this
.eslint.json
file:I use VSCode as code editor (I don't know is this mean something or not).
In the OUTPUT I see this:
So there is no error or warning.
To Reproduce
Create this spec.ts file:
So I broke several rules with this code, like
missing-expect
,new-line-before-expect
,no-spec-dupes
.Expected behaviour is to give me errors and warnings,
Context
Additonal info
I tried to run with
ng lint
command, there isn't an error or warning too.The text was updated successfully, but these errors were encountered: