Skip to content

Commit 7e51f18

Browse files
committed
Lint fixes and ignore
1 parent c3214bb commit 7e51f18

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.eslintignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
# Ignore app templates from CI linting of stripes-cli due to template syntax
22
# Run lint-templates to lint the app templates separately
33
resources/**/*
4+
/artifacts
5+
/node_modules

test/commands/create-app.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ describe('The app create command', function () {
1313
this.sandbox.stub(fs, 'writeFileSync');
1414
this.sandbox.stub(fs, 'removeSync');
1515
this.sandbox.stub(fs, 'readdirSync').returns(['__appName__', '__appDescription__']);
16-
this.sandbox.stub(fs, 'statSync').returns({isDirectory: function() {return false;}});
16+
this.sandbox.stub(fs, 'statSync').returns({ isDirectory() { return false; } });
1717
this.sandbox.stub(simpleGit.prototype, '_run').callsFake(function (command, cb) {
1818
console.log('called command', command);
1919

0 commit comments

Comments
 (0)