Skip to content

Commit 30a54e7

Browse files
CLOUDP-286235: Improve tooling
1 parent f2e8c44 commit 30a54e7

File tree

12 files changed

+2000
-1488
lines changed

12 files changed

+2000
-1488
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
*.env
1414

1515
/tools/postman/openapi
16-
/tools/postman/node_modules
16+
/node_modules
1717

1818
# Tool generated files
1919
*.idea

.prettierignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# Ignore artifacts:
2+
*.md
3+
*.json
4+
*.yaml
5+
*.yml
6+
*.html

.prettierrc.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"trailingComma": "es5",
3+
"tabWidth": 2,
4+
"printWidth": 120,
5+
"semi": true,
6+
"singleQuote": true,
7+
"bracketSpacing": true,
8+
"bracketSameLine": false
9+
}

eslint.config.mjs

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
import globals from 'globals';
2+
import pluginJs from '@eslint/js';
3+
4+
/** @type {import('eslint').Linter.Config[]} */
5+
export default [
6+
{ languageOptions: { globals: globals.browser } },
7+
pluginJs.configs.recommended,
8+
{
9+
languageOptions: {
10+
ecmaVersion: 2022,
11+
sourceType: 'module',
12+
},
13+
},
14+
{
15+
rules: {
16+
'no-unused-exports': 'off',
17+
},
18+
},
19+
];

0 commit comments

Comments
 (0)