@hyperupcall/eslint-config 2.0.1 → 2.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.commitlintrc.yaml +2 -0
- package/.cz.toml +7 -0
- package/.ls-lint.yml +31 -0
- package/.yamlfmt.yaml +17 -0
- package/.yamllint.yaml +9 -0
- package/dev.toml +5 -0
- package/index.js +14 -5
- package/package.json +6 -7
- package/pnpm-workspace.yaml +1 -1
- package/project.toml +0 -2
package/.cz.toml
ADDED
package/.ls-lint.yml
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
ls:
|
|
2
|
+
.vscode:
|
|
3
|
+
.*: 'exists:0'
|
|
4
|
+
.json: 'regex:(settings|launch|tasks|extensions|keybindings)'
|
|
5
|
+
|
|
6
|
+
assets:
|
|
7
|
+
.*: 'exists:0'
|
|
8
|
+
.png: 'kebab-case'
|
|
9
|
+
.jpg: 'kebab-case'
|
|
10
|
+
.jpeg: 'kebab-case'
|
|
11
|
+
.svg: 'kebab-case'
|
|
12
|
+
.ico: 'kebab-case'
|
|
13
|
+
|
|
14
|
+
docs:
|
|
15
|
+
.*: 'exists:0'
|
|
16
|
+
.md: 'kebab-case'
|
|
17
|
+
|
|
18
|
+
language-configuration:
|
|
19
|
+
.*: 'exists:0'
|
|
20
|
+
.language-configuration.json: 'kebab-case'
|
|
21
|
+
|
|
22
|
+
scripts:
|
|
23
|
+
.js: 'kebab-case'
|
|
24
|
+
|
|
25
|
+
syntaxes:
|
|
26
|
+
.*: 'exists:0'
|
|
27
|
+
.tmLanguage.json: 'kebab-case'
|
|
28
|
+
|
|
29
|
+
ignore:
|
|
30
|
+
- 'node_modules'
|
|
31
|
+
- '.git'
|
package/.yamlfmt.yaml
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
line_ending: 'lf'
|
|
2
|
+
doublestar: true
|
|
3
|
+
gitignore_excludes: false
|
|
4
|
+
exclude:
|
|
5
|
+
- "**/.data/**"
|
|
6
|
+
- '**/node_modules/**'
|
|
7
|
+
- '**/target/**'
|
|
8
|
+
formatter:
|
|
9
|
+
type: 'basic'
|
|
10
|
+
indent: 2
|
|
11
|
+
include_document_start: false
|
|
12
|
+
retain_line_breaks_single: true
|
|
13
|
+
disallow_anchors: false
|
|
14
|
+
indentless_arrays: true
|
|
15
|
+
trim_trailing_whitespace: true
|
|
16
|
+
eof_newline: true
|
|
17
|
+
force_quote_style: "single"
|
package/.yamllint.yaml
ADDED
package/dev.toml
ADDED
package/index.js
CHANGED
|
@@ -134,11 +134,20 @@ export default defineConfig([
|
|
|
134
134
|
'error',
|
|
135
135
|
{
|
|
136
136
|
groups: ['r', 'g', 'b'],
|
|
137
|
-
customGroups:
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
137
|
+
customGroups: [
|
|
138
|
+
{
|
|
139
|
+
groupName: 'r',
|
|
140
|
+
elementNamePattern: '^r$',
|
|
141
|
+
},
|
|
142
|
+
{
|
|
143
|
+
groupName: 'g',
|
|
144
|
+
elementNamePattern: '^g$',
|
|
145
|
+
},
|
|
146
|
+
{
|
|
147
|
+
groupName: 'b',
|
|
148
|
+
elementNamePattern: '^b$',
|
|
149
|
+
},
|
|
150
|
+
],
|
|
142
151
|
useConfigurationIf: {
|
|
143
152
|
allNamesMatchPattern: '^r|g|b$',
|
|
144
153
|
},
|
package/package.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hyperupcall/eslint-config",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.2",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Edwin's ESLint configuration.",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
8
|
-
"url": "
|
|
8
|
+
"url": "https://github.com/hyperupcall-projects/eslint-config"
|
|
9
9
|
},
|
|
10
10
|
"bugs": {
|
|
11
|
-
"url": "https://github.com/
|
|
11
|
+
"url": "https://github.com/hyperupcall-projects/eslint-config/issues"
|
|
12
12
|
},
|
|
13
13
|
"author": "Edwin Kofler <edwin@kofler.dev> (https://edwinkofler.com)",
|
|
14
14
|
"license": "MPL-2.0",
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"globals": "^17.0.0"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
|
-
"@hyperupcall/scripts-nodejs": "0.
|
|
38
|
+
"@hyperupcall/scripts-nodejs": "0.9.0",
|
|
39
39
|
"@types/node": "^25.0.6",
|
|
40
40
|
"typescript": "^5.9.3"
|
|
41
41
|
},
|
|
@@ -45,8 +45,7 @@
|
|
|
45
45
|
"prettier": "@hyperupcall/scripts-nodejs/config-prettier.js",
|
|
46
46
|
"scripts": {
|
|
47
47
|
"typecheck": "tsc --project ./tsconfig.json",
|
|
48
|
-
"format": "
|
|
49
|
-
"
|
|
50
|
-
"lint": "eslint ."
|
|
48
|
+
"format": "hyperupcall-scripts-nodejs format",
|
|
49
|
+
"lint": "hyperupcall-scripts-nodejs lint"
|
|
51
50
|
}
|
|
52
51
|
}
|
package/pnpm-workspace.yaml
CHANGED
package/project.toml
DELETED