Skip to content

Commit

Permalink
Add codestyle tools
Browse files Browse the repository at this point in the history
  • Loading branch information
peschee committed Aug 9, 2023
1 parent 1a596bc commit 69f7b59
Show file tree
Hide file tree
Showing 5 changed files with 1,514 additions and 81 deletions.
13 changes: 13 additions & 0 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
module.exports = {
extends: ['eslint:recommended', 'plugin:unicorn/recommended', 'prettier'],
plugins: ['import'],
parserOptions: {
ecmaVersion: 'latest',
sourceType: 'module',
},
env: { node: true },
rules: {
'import/extensions': ['error', 'ignorePackages'],
},
overrides: [],
};
1 change: 1 addition & 0 deletions bin/envsubst.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ const cli = meow(
}
);

// eslint-disable-next-line unicorn/prefer-top-level-await
(async () => {
/** @type string[] */
const files = await globby(cli.input);
Expand Down
Loading

0 comments on commit 69f7b59

Please sign in to comment.