Skip to content

Commit

Permalink
CLOUDP-286235: Improve tooling
Browse files Browse the repository at this point in the history
  • Loading branch information
lovisaberggren committed Nov 22, 2024
1 parent f2e8c44 commit 30a54e7
Show file tree
Hide file tree
Showing 12 changed files with 2,000 additions and 1,488 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
*.env

/tools/postman/openapi
/tools/postman/node_modules
/node_modules

# Tool generated files
*.idea
Expand Down
6 changes: 6 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Ignore artifacts:
*.md
*.json
*.yaml
*.yml
*.html
9 changes: 9 additions & 0 deletions .prettierrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"trailingComma": "es5",
"tabWidth": 2,
"printWidth": 120,
"semi": true,
"singleQuote": true,
"bracketSpacing": true,
"bracketSameLine": false
}
19 changes: 19 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
import globals from 'globals';
import pluginJs from '@eslint/js';

/** @type {import('eslint').Linter.Config[]} */
export default [
{ languageOptions: { globals: globals.browser } },
pluginJs.configs.recommended,
{
languageOptions: {
ecmaVersion: 2022,
sourceType: 'module',
},
},
{
rules: {
'no-unused-exports': 'off',
},
},
];
Loading

0 comments on commit 30a54e7

Please sign in to comment.