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 run the following commandyo meanjs:crud-module mod.
Then I get this as output create modules/mods/client/config/mods.client.routes.js create modules/mods/client/controllers/mods.client.controller.js create modules/mods/client/controllers/list-mods.client.controller.js create modules/mods/client/services/mods.client.service.js create modules/mods/tests/client/mods.client.controller.tests.js create modules/mods/tests/client/mods.client.routes.tests.js create modules/mods/tests/client/list-mods.client.controller.tests.js create modules/mods/client/views/form-mod.client.view.html create modules/mods/client/views/view-mod.client.view.html create modules/mods/client/views/list-mods.client.view.html create modules/mods/client/config/mods.client.config.js create modules/mods/client/mods.client.module.js create modules/mods/tests/e2e/mods.e2e.tests.js create modules/mods/server/config/mods.server.config.js create modules/mods/server/controllers/mods.server.controller.js create modules/mods/server/models/mod.server.model.js create modules/mods/server/routes/mods.server.routes.js create modules/mods/server/policies/mods.server.policy.js create modules/mods/tests/server/mod.server.model.tests.js create modules/mods/tests/server/mod.server.routes.tests.js
When I now run grunt I get a list of errors:
`/Users/.../Documents/evda/mean/modules/entities/server/controllers/entities.server.controller.js
39:115 error Unnecessary use of boolean literals in conditional expression no-unneeded-ternary
48:27 error Unexpected whitespace before semicolon semi-spacing
50:28 error There should be no space before ',' comma-spacing
67:27 error Unexpected whitespace before semicolon semi-spacing
83:36 error Trailing spaces not allowed no-trailing-spaces
/Users/.../Documents/evda/mean/modules/mods/server/controllers/mods.server.controller.js
39:106 error Unnecessary use of boolean literals in conditional expression no-unneeded-ternary
48:21 error Unexpected whitespace before semicolon semi-spacing
50:22 error There should be no space before ',' comma-spacing
67:21 error Unexpected whitespace before semicolon semi-spacing
83:36 error Trailing spaces not allowed no-trailing-spaces
....`
Has anyone an idea how I can fix this?
The text was updated successfully, but these errors were encountered:
I run the following command
yo meanjs:crud-module mod
.Then I get this as output
create modules/mods/client/config/mods.client.routes.js create modules/mods/client/controllers/mods.client.controller.js create modules/mods/client/controllers/list-mods.client.controller.js create modules/mods/client/services/mods.client.service.js create modules/mods/tests/client/mods.client.controller.tests.js create modules/mods/tests/client/mods.client.routes.tests.js create modules/mods/tests/client/list-mods.client.controller.tests.js create modules/mods/client/views/form-mod.client.view.html create modules/mods/client/views/view-mod.client.view.html create modules/mods/client/views/list-mods.client.view.html create modules/mods/client/config/mods.client.config.js create modules/mods/client/mods.client.module.js create modules/mods/tests/e2e/mods.e2e.tests.js create modules/mods/server/config/mods.server.config.js create modules/mods/server/controllers/mods.server.controller.js create modules/mods/server/models/mod.server.model.js create modules/mods/server/routes/mods.server.routes.js create modules/mods/server/policies/mods.server.policy.js create modules/mods/tests/server/mod.server.model.tests.js create modules/mods/tests/server/mod.server.routes.tests.js
When I now run
grunt
I get a list of errors:`/Users/.../Documents/evda/mean/modules/entities/server/controllers/entities.server.controller.js
39:115 error Unnecessary use of boolean literals in conditional expression no-unneeded-ternary
48:27 error Unexpected whitespace before semicolon semi-spacing
50:28 error There should be no space before ',' comma-spacing
67:27 error Unexpected whitespace before semicolon semi-spacing
83:36 error Trailing spaces not allowed no-trailing-spaces
/Users/.../Documents/evda/mean/modules/mods/server/controllers/mods.server.controller.js
39:106 error Unnecessary use of boolean literals in conditional expression no-unneeded-ternary
48:21 error Unexpected whitespace before semicolon semi-spacing
50:22 error There should be no space before ',' comma-spacing
67:21 error Unexpected whitespace before semicolon semi-spacing
83:36 error Trailing spaces not allowed no-trailing-spaces
....`
Has anyone an idea how I can fix this?
The text was updated successfully, but these errors were encountered: