Skip to content

Commit 00a187b

Browse files
committed
chore: update editorconfig, prettier config, and build constants
1 parent d43147d commit 00a187b

File tree

3 files changed

+34
-19
lines changed

3 files changed

+34
-19
lines changed

.editorconfig

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
root = true
2+
3+
[*]
4+
indent_style = tab
5+
indent_size = 4
6+
end_of_line = lf
7+
charset = utf-8
8+
trim_trailing_whitespace = true
9+
insert_final_newline = true
10+
11+
[*.md]
12+
trim_trailing_whitespace = false
13+
14+
[*.{sql,cql,hql,file,txt}]
15+
insert_final_newline = false

buildConstants.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,19 @@ const EXCLUDED_FILES = [
77
'.github',
88
'.DS_Store',
99
'.editorconfig',
10-
'.eslintignore',
11-
'.eslintrc',
1210
'.git',
1311
'.gitignore',
1412
'.vscode',
1513
'.idea',
1614
'.prettierignore',
17-
'.prettierrc',
1815
'.dockerignore',
16+
'.oxlintrc.json',
1917
'build',
2018
'release',
2119
'node_modules',
2220
'package-lock.json',
21+
'prettier.config.js',
22+
'lint-staged.config.js',
2323
];
2424

2525
module.exports = {

prettier.config.js

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -8,20 +8,20 @@
88
*/
99

1010
module.exports = {
11-
plugins: ['@ianvs/prettier-plugin-sort-imports'],
12-
printWidth: 120,
13-
singleQuote: true,
14-
trailingComma: 'all',
15-
useTabs: false,
16-
semi: true,
17-
arrowParens: 'avoid',
18-
bracketSpacing: true,
19-
bracketSameLine: false,
20-
tabWidth: 2,
21-
endOfLine: 'lf',
22-
quoteProps: 'preserve',
23-
jsxSingleQuote: false,
24-
importOrder: ['', '<BUILTIN_MODULES>', '', '<THIRD_PARTY_MODULES>', '', '^[.]'],
25-
importOrderCaseSensitive: false,
26-
importOrderTypeScriptVersion: '5.0.0',
11+
plugins: ['@ianvs/prettier-plugin-sort-imports'],
12+
printWidth: 120,
13+
singleQuote: true,
14+
trailingComma: 'all',
15+
useTabs: true,
16+
semi: true,
17+
arrowParens: 'avoid',
18+
bracketSpacing: true,
19+
bracketSameLine: false,
20+
tabWidth: 4,
21+
endOfLine: 'lf',
22+
quoteProps: 'preserve',
23+
jsxSingleQuote: false,
24+
importOrder: ['', '<BUILTIN_MODULES>', '', '<THIRD_PARTY_MODULES>', '', '^[.]'],
25+
importOrderCaseSensitive: false,
26+
importOrderTypeScriptVersion: '5.0.0',
2727
};

0 commit comments

Comments
 (0)