Skip to content

Commit 89e9ac9

Browse files
committed
Fixed content eslint issues
1 parent 9795263 commit 89e9ac9

23 files changed

+2369
-2410
lines changed

.eslintrc.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@
88
"tab",
99
{ "SwitchCase": 1 }
1010
],
11+
"no-tabs": ["error", { "allowIndentationTabs": true }],
1112
"no-unused-vars": "off",
1213
"semi": ["error", "always"],
13-
"no-tabs": ["error", { "allowIndentationTabs": true }],
1414
"object-curly-spacing": ["error", "always"],
1515
"space-before-function-paren": ["error", {
1616
"anonymous": "never",
1717
"named": "never",
18-
"asyncArrow": "never"
18+
"asyncArrow": "always"
1919
}],
2020
"no-trailing-spaces": [
2121
"error",

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
"@changesets/changelog-github": "^0.4.6",
3333
"@changesets/cli": "^2.23.0",
3434
"eslint": "^8.32.0",
35-
"eslint-config-airbnb-base": "^15.0.0",
35+
"eslint-config-standard": "^17.0.0",
3636
"jsdoc-to-markdown": "^7.1.1",
3737
"nodemon": "^2.0.20"
3838
}

packages/content/index.js

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -5,21 +5,21 @@ import { launchFromCli } from '@bluecadet/launchpad-utils';
55

66
export * from './lib/content-options.js';
77
export * from './lib/launchpad-content.js';
8-
export * from './lib/utils/file-utils.js'
8+
export * from './lib/utils/file-utils.js';
99
export default LaunchpadContent;
1010

1111
export const launch = async (config) => {
12-
const content = new LaunchpadContent(config.content || config);
13-
await content.start();
12+
const content = new LaunchpadContent(config.content || config);
13+
await content.start();
1414
};
1515

1616
launchFromCli(import.meta, {
17-
relativePaths: ["launchpad-content/index.js", ".bin/launchpad-content"],
17+
relativePaths: ['launchpad-content/index.js', '.bin/launchpad-content']
1818
})
19-
.then(launch)
20-
.catch((err) => {
21-
if (err) {
22-
console.error('Launch error', err);
23-
process.exit(1);
24-
}
25-
});
19+
.then(launch)
20+
.catch((err) => {
21+
if (err) {
22+
console.error('Launch error', err);
23+
process.exit(1);
24+
}
25+
});

0 commit comments

Comments
 (0)