Skip to content

Commit c389e56

Browse files
committed
chore: init 🔥
0 parents  commit c389e56

File tree

7 files changed

+897
-0
lines changed

7 files changed

+897
-0
lines changed

‎.editorconfig‎

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# https://EditorConfig.org
2+
3+
root = true
4+
5+
[*]
6+
indent_style = tab
7+
indent_size = 2
8+
end_of_line = lf
9+
charset = utf-8
10+
trim_trailing_whitespace = false
11+
insert_final_newline = true
12+
13+
[**/Makefile]
14+
indent_style = tab
15+
indent_size = 4
16+
17+
[*.md,*.yaml]
18+
trim_trailing_whitespace = false
19+
indent_style = space

‎.eslintrc.cjs‎

Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,77 @@
1+
/** @type {import("@types/eslint").Linter.Config} */
2+
3+
module.exports = {
4+
settings: {
5+
// This loads <rootdir>/tsconfig.json to eslint
6+
'import/resolver': {
7+
typescript: { project: ['./tsconfig.json'] },
8+
},
9+
},
10+
// env: {
11+
// node: true,
12+
// es2022: true,
13+
// browser: true,
14+
// },
15+
16+
overrides: [
17+
{
18+
files: ['*.ts', '*.mts', '*.cts'],
19+
plugins: [
20+
//
21+
'eslint-plugin-tsdoc',
22+
'@typescript-eslint',
23+
],
24+
25+
parser: '@typescript-eslint/parser',
26+
parserOptions: {
27+
project: ['./tsconfig.json'], // Specify it only for TypeScript files
28+
ecmaVersion: 'latest',
29+
sourceType: 'module',
30+
},
31+
32+
extends: [
33+
'airbnb-base',
34+
'airbnb-typescript',
35+
36+
'plugin:@typescript-eslint/recommended',
37+
'plugin:@typescript-eslint/recommended-requiring-type-checking',
38+
'plugin:@typescript-eslint/strict',
39+
40+
'prettier',
41+
],
42+
43+
rules: {
44+
'tsdoc/syntax': 'warn',
45+
46+
'@typescript-eslint/no-unused-vars': [
47+
'error',
48+
{ argsIgnorePattern: '^_', destructuredArrayIgnorePattern: '^_' },
49+
],
50+
'@typescript-eslint/no-non-null-assertion': 'off',
51+
52+
'max-lines': [
53+
'warn',
54+
{ max: 150, skipComments: true, skipBlankLines: true },
55+
],
56+
57+
'react/jsx-filename-extension': 'off',
58+
59+
'import/prefer-default-export': 'off',
60+
61+
'import/extensions': 'off',
62+
'prefer-destructuring': 'off',
63+
// 'import/extensions': [
64+
// 'error',
65+
// 'ignorePackages',
66+
// {
67+
// js: 'never',
68+
// jsx: 'never',
69+
// ts: 'never',
70+
// tsx: 'never',
71+
// },
72+
// ],
73+
'import/order': 'off',
74+
},
75+
},
76+
],
77+
};

‎.gitignore‎

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
.old*
2+
.dev*
3+
4+
# Logs
5+
logs
6+
*.log
7+
npm-debug.log*
8+
yarn-debug.log*
9+
yarn-error.log*
10+
pnpm-debug.log*
11+
lerna-debug.log*
12+
13+
node_modules
14+
dist
15+
dist-ssr
16+
*.local
17+
18+
# Editor directories and files
19+
.vscode/*
20+
!.vscode/extensions.json
21+
.idea
22+
.DS_Store
23+
*.suo
24+
*.ntvs*
25+
*.njsproj
26+
*.sln
27+
*.sw?
28+
29+
.design
30+
31+
# Local Netlify folder
32+
.netlify

‎.prettierrc.yaml‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
useTabs: true
2+
singleQuote: true
3+
trailingComma: all
4+
5+
overrides:
6+
- files: ['*.json', '*.yaml']
7+
options:
8+
useTabs: false

‎.stylelintrc.cjs‎

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
/** @type {import("@types/stylelint").Options} */
2+
3+
module.exports = {
4+
extends: [
5+
'stylelint-config-standard',
6+
'stylelint-config-standard-scss',
7+
'stylelint-config-prettier',
8+
'stylelint-config-recess-order',
9+
],
10+
11+
plugins: [
12+
//
13+
'stylelint-order',
14+
],
15+
16+
overrides: [
17+
{
18+
files: ['*.vue', '**/*.vue'],
19+
extends: [
20+
'stylelint-config-standard-scss',
21+
'stylelint-config-prettier',
22+
'stylelint-config-recommended-vue/scss',
23+
],
24+
},
25+
],
26+
rules: {
27+
'comment-empty-line-before': null,
28+
// Shorthand units make things hard to read and change
29+
'shorthand-property-no-redundant-values': null,
30+
'scss/double-slash-comment-empty-line-before': null,
31+
'color-function-notation': null,
32+
'property-no-vendor-prefix': null,
33+
'value-keyword-case': null,
34+
'declaration-block-no-redundant-longhand-properties': null,
35+
'hue-degree-notation': null,
36+
'length-zero-no-unit': null,
37+
'alpha-value-notation': null,
38+
'scss/at-import-partial-extension': null,
39+
'selector-pseudo-class-no-unknown': [
40+
true,
41+
{
42+
ignorePseudoClasses: ['global'],
43+
},
44+
],
45+
'selector-pseudo-element-no-unknown': [
46+
true,
47+
{
48+
ignorePseudoElements: ['v-deep'],
49+
},
50+
],
51+
'max-line-length': [100, , { ignore: ['comments'] }],
52+
},
53+
};

0 commit comments

Comments
 (0)