@nedcloarbr/biome-config 1.0.1 → 1.2.0

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.
Files changed (3) hide show
  1. package/README.md +15 -10
  2. package/nestjs.json +8 -2
  3. package/package.json +41 -40
package/README.md CHANGED
@@ -6,7 +6,7 @@
6
6
 
7
7
  **[BiomeJS](https://biomejs.dev/) Configuration used by [NedcloarBR](https://github.com/NedcloarBR) in their projects**
8
8
 
9
- [![GitHub](https://img.shields.io/github/license/NedcloarBR/biome-config)](https://github.com/NedcloarBR/biome-config/blob/main/LICENSE)
9
+ [![GitHub](https://img.shields.io/github/license/NedcloarBR/biome-config)](https://github.com/NedcloarBR/biome-config/blob/master/LICENSE)
10
10
  [![npm](https://img.shields.io/npm/v/@nedcloarbr/biome-config?color=crimson&logo=npm&style=flat-square)](https://www.npmjs.com/package/@nedcloarbr/biome-config)
11
11
 
12
12
  </div>
@@ -30,24 +30,29 @@ You can use the following command to install this package.
30
30
 
31
31
  ```sh
32
32
  npm install --save-dev --save-exact @biomejs/biome @nedcloarbr/biome-config
33
-
34
33
  yarn add --dev --exact @biomejs/biome @nedcloarbr/biome-config
35
-
36
34
  pnpm install --save-dev --save-exact @biomejs/biome @nedcloarbr/biome-config
37
-
38
35
  bun add --dev --exact @biomejs/biome @nedcloarbr/biome-config
39
36
  ```
40
37
 
38
+ > [!WARNING]
39
+ > At the moment BiomeJS doesn't support Yarn PnP completely \
40
+ > Discussion for add this support: https://github.com/biomejs/biome/discussions/3393 \
41
+ > If you're using Yarn Classic (v1.x) you don't have to worry about this \
42
+ > To opt out of using PnP in Yarn Modern (^v2.x), do the following
43
+
44
+ ```diff
45
+ # .yarnrc.yml
46
+ + nodeLinker: node-modules
47
+ ```
48
+
41
49
  ## Usage
42
50
 
43
51
  ### [`NestJS`](https://nestjs.com/)
44
52
 
45
- ```jsonc
46
- // biome.json
47
- {
48
- "extends": ["@nedcloarbr/biome-config/nestjs"]
49
- // ...
50
- }
53
+ ```diff
54
+ # biome.json
55
+ + "extends": ["@nedcloarbr/biome-config/nestjs"]
51
56
  ```
52
57
 
53
58
  ## To-Do
package/nestjs.json CHANGED
@@ -61,8 +61,14 @@
61
61
  "noNonNullAssertion": "off",
62
62
  "useAsConstAssertion": "warn",
63
63
  "useConst": "error",
64
- "useExportType": "info",
65
- "useImportType": "info",
64
+ "useExportType": {
65
+ "level":"info",
66
+ "fix": "none"
67
+ },
68
+ "useImportType": {
69
+ "level":"info",
70
+ "fix": "none"
71
+ },
66
72
  "useShorthandArrayType": "error",
67
73
  "useSingleVarDeclarator": "error"
68
74
  },
package/package.json CHANGED
@@ -1,42 +1,43 @@
1
1
  {
2
- "name": "@nedcloarbr/biome-config",
3
- "version": "1.0.1",
4
- "description": "BiomeJS Configuration used by NedcloarBR in their projects",
5
- "license": "MIT",
6
- "publishConfig": {
7
- "registry": "https://registry.npmjs.org",
8
- "access": "public"
9
- },
10
- "author": {
11
- "name": "Miguel Alexandre Uhlein <NedcloarBR>",
12
- "email": "nedcloar1@hotmail.com",
13
- "url": "https://github.com/NedcloarBR"
14
- },
15
- "repository": {
16
- "type": "git",
17
- "url": "git+https://github.com/NedcloarBR/biome-config.git"
18
- },
19
- "bugs": {
20
- "url": "https://github.com/NedcloarBR/biome-config/issues"
21
- },
22
- "homepage": "https://github.com/NedcloarBR/biome-config#readme",
23
- "keywords": [
24
- "BiomeJS",
25
- "NestJS",
26
- "linter",
27
- "formatter"
28
- ],
29
- "exports": {
30
- "./nestjs": "./nestjs.json"
31
- },
32
- "files": [
33
- "nestjs.json"
34
- ],
35
- "packageManager": "yarn@4.3.1",
36
- "scripts": {
37
- "release": "release-it"
38
- },
39
- "devDependencies": {
40
- "release-it": "^17.4.1"
41
- }
2
+ "name": "@nedcloarbr/biome-config",
3
+ "version": "1.2.0",
4
+ "description": "BiomeJS Configuration used by NedcloarBR in their projects",
5
+ "license": "MIT",
6
+ "publishConfig": {
7
+ "registry": "https://registry.npmjs.org",
8
+ "access": "public"
9
+ },
10
+ "author": {
11
+ "name": "Miguel Alexandre Uhlein <NedcloarBR>",
12
+ "email": "nedcloar1@hotmail.com",
13
+ "url": "https://github.com/NedcloarBR"
14
+ },
15
+ "repository": {
16
+ "type": "git",
17
+ "url": "git+https://github.com/NedcloarBR/biome-config.git"
18
+ },
19
+ "bugs": {
20
+ "url": "https://github.com/NedcloarBR/biome-config/issues"
21
+ },
22
+ "homepage": "https://github.com/NedcloarBR/biome-config#readme",
23
+ "keywords": [
24
+ "BiomeJS",
25
+ "NestJS",
26
+ "linter",
27
+ "formatter"
28
+ ],
29
+ "exports": {
30
+ "./nestjs": "./nestjs.json"
31
+ },
32
+ "files": [
33
+ "nestjs.json"
34
+ ],
35
+ "packageManager": "yarn@4.3.1",
36
+ "scripts": {
37
+ "release": "release-it",
38
+ "changelog": "git cliff --prepend ./CHANGELOG.md -l --current -c ./cliff.toml -r ."
39
+ },
40
+ "devDependencies": {
41
+ "release-it": "^17.4.1"
42
+ }
42
43
  }