@cuiqg/shared-configs 0.1.1 → 0.1.3

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/README.md CHANGED
@@ -7,8 +7,32 @@
7
7
 
8
8
  ```json
9
9
  {
10
- "$schema": "https://biomejs.dev/schemas/2.0.5/schema.json",
10
+ "$schema": "https://biomejs.dev/schemas/2.3.10/schema.json",
11
11
  "extends": ["@cuiqg/shared-configs/biome"]
12
12
  }
13
13
  ```
14
14
  </details>
15
+
16
+
17
+ <details open>
18
+ <summary>.vscode/settings.json</summary>
19
+
20
+ ```json
21
+ {
22
+ "prettier.enable": false,
23
+ "eslint.enable": false,
24
+
25
+ "editor.formatOnSave": true,
26
+ "[javascript][javascriptreact][typescript][typescriptreact][css][html][json][vue][yaml][markdown][graphql]": {
27
+ "editor.defaultFormatter": "biomejs.biome"
28
+ },
29
+ "editor.codeActionsOnSave": {
30
+ "source.fixAll.biome": "explicit",
31
+ "source.organizeImports.biome": "explicit",
32
+ "source.action.useSortedAttributes.biome": "explicit",
33
+ "source.action.useSortedKeys.biome": "explicit",
34
+ "source.action.useSortedProperties.biome": "explicit"
35
+ }
36
+ }
37
+ ```
38
+ </details>
@@ -0,0 +1,48 @@
1
+ {
2
+ "$schema": "https://biomejs.dev/schemas/2.3.10/schema.json",
3
+ "vcs": {
4
+ "enabled": true,
5
+ "clientKind": "git",
6
+ "useIgnoreFile": true
7
+ },
8
+ "files": {
9
+ "includes": [
10
+ "**",
11
+ "!node_modules",
12
+ "!dist",
13
+ "!out"
14
+ ]
15
+ },
16
+ "formatter": {
17
+ "enabled": true,
18
+ "indentStyle": "space",
19
+ "indentWidth": 2,
20
+ "useEditorconfig": true
21
+ },
22
+ "linter": {
23
+ "enabled": true,
24
+ "rules": {
25
+ "recommended": true
26
+ },
27
+ "domains": {
28
+ "vue": "recommended",
29
+ "next": "recommended",
30
+ "react": "recommended"
31
+ }
32
+ },
33
+ "assist": {
34
+ "enabled": true,
35
+ "actions": {
36
+ "source": {
37
+ "organizeImports": "on"
38
+ }
39
+ }
40
+ },
41
+ "javascript": {
42
+ "formatter": {
43
+ "enabled": true,
44
+ "quoteStyle": "single",
45
+ "expand": "always"
46
+ }
47
+ }
48
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cuiqg/shared-configs",
3
- "version": "0.1.1",
3
+ "version": "0.1.3",
4
4
  "description": "Biome config for @cuiqg",
5
5
  "type": "module",
6
6
  "publishConfig": {
@@ -10,15 +10,18 @@
10
10
  "exports": {
11
11
  "./biome": "./dist/biome.json"
12
12
  },
13
+ "files": [
14
+ "dist"
15
+ ],
13
16
  "scripts": {
14
17
  "start": "gulp",
15
18
  "build": "gulp build --prod",
16
19
  "preinstall": "npx force-resolutions",
17
20
  "prepublishOnly": "npm run build",
18
21
  "release": "bumpp && npm publish",
19
- "lint": "npx @biomejs/biome lint",
20
- "format": "npx @biomejs/biome format",
21
- "check": "npx @biomejs/biome check --reporter=summary"
22
+ "lint": "biome lint",
23
+ "format": "biome format --write",
24
+ "check": "biome check"
22
25
  },
23
26
  "devDependencies": {
24
27
  "@biomejs/biome": "2.3.10",
package/.editorconfig DELETED
@@ -1,12 +0,0 @@
1
- root = true
2
-
3
- [*]
4
- charset = utf-8
5
- indent_style = space
6
- indent_size = 2
7
- end_of_line = lf
8
- trim_trailing_whitespace = true
9
- insert_final_newline = true
10
-
11
- [*.md]
12
- trim_trailing_whitespace = false
package/.gitattributes DELETED
@@ -1 +0,0 @@
1
- * text=auto eol=lf
@@ -1,14 +0,0 @@
1
- {
2
- "editor.formatOnSave": false,
3
- "[javascript]": {
4
- "editor.defaultFormatter": "biomejs.biome"
5
- },
6
- "[json]": {
7
- "editor.defaultFormatter": "biomejs.biome"
8
- },
9
- "editor.codeActionsOnSave": {
10
- "source.action.useSortedKeys.biome": "explicit",
11
- "source.fixAll.biome": "explicit",
12
- "source.organizeImports.biome": "explicit"
13
- }
14
- }
package/biome.json DELETED
@@ -1,34 +0,0 @@
1
- {
2
- "$schema": "https://biomejs.dev/schemas/2.0.5/schema.json",
3
- "formatter": {
4
- "enabled": true,
5
- "indentStyle":"space",
6
- "indentWidth": 2,
7
- "lineEnding": "lf",
8
- "useEditorconfig": true,
9
- "bracketSpacing": true
10
- },
11
- "javascript": {
12
- "formatter": {
13
- "enabled": true,
14
- "quoteStyle": "single"
15
- }
16
- },
17
- "linter": {
18
- "enabled": true
19
- },
20
- "assist": {
21
- "enabled": true,
22
- "actions": {
23
- "source": {
24
- "useSortedKeys": "on"
25
- }
26
- }
27
- },
28
- "vcs": {
29
- "enabled": true,
30
- "clientKind": "git",
31
- "useIgnoreFile": true,
32
- "defaultBranch": "main"
33
- }
34
- }
package/bump.config.js DELETED
@@ -1,6 +0,0 @@
1
- import { defineConfig } from 'bumpp'
2
-
3
- export default defineConfig({
4
- tag: false,
5
- all: true
6
- })
package/gulpfile.js DELETED
@@ -1,18 +0,0 @@
1
- import gulp from 'gulp'
2
- import rename from 'gulp-rename'
3
-
4
- const jsons = () => {
5
- return gulp
6
- .src('src/biome/index.json')
7
- .pipe(rename('biome.json'))
8
- .pipe(gulp.dest('dist'))
9
- }
10
-
11
- const watch = () => {
12
- gulp.watch('src/biome/**/*.json', jsons);
13
- };
14
-
15
- export const dev = gulp.series( gulp.parallel(jsons), watch)
16
- export const build = gulp.series(gulp.parallel(jsons))
17
-
18
- export default dev
package/jsconfig.json DELETED
@@ -1,8 +0,0 @@
1
- {
2
- "compilerOptions": {
3
- "baseUrl": ".",
4
- "paths": {
5
- "@/*": ["./src/*"]
6
- }
7
- }
8
- }
@@ -1,34 +0,0 @@
1
- {
2
- "$schema": "https://biomejs.dev/schemas/2.0.5/schema.json",
3
- "formatter": {
4
- "enabled": true,
5
- "indentStyle":"space",
6
- "indentWidth": 2,
7
- "lineEnding": "lf",
8
- "useEditorconfig": true,
9
- "bracketSpacing": true
10
- },
11
- "javascript": {
12
- "formatter": {
13
- "enabled": true,
14
- "quoteStyle": "single"
15
- }
16
- },
17
- "linter": {
18
- "enabled": true
19
- },
20
- "assist": {
21
- "enabled": true,
22
- "actions": {
23
- "source": {
24
- "useSortedKeys": "on"
25
- }
26
- }
27
- },
28
- "vcs": {
29
- "enabled": true,
30
- "clientKind": "git",
31
- "useIgnoreFile": true,
32
- "defaultBranch": "main"
33
- }
34
- }