@21torr/janus 2.0.0 → 2.0.1
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/CHANGELOG.md +6 -0
- package/README.md +1 -21
- package/eslint/base.mjs +2 -1
- package/package.json +1 -1
- package/_init/library/.nvmrc +0 -1
- package/_init/next-js/.nvmrc +0 -1
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
|
@@ -3,27 +3,7 @@ Janus TS
|
|
|
3
3
|
|
|
4
4
|
This repository contains all config files and tools for code style tools, formatters and linters for TS / JS / SCSS / CSS.
|
|
5
5
|
|
|
6
|
-
|
|
7
|
-
## Installation
|
|
8
|
-
|
|
9
|
-
```bash
|
|
10
|
-
pnpm add -D @21torr/janus
|
|
11
|
-
```
|
|
12
|
-
|
|
13
|
-
## Integration
|
|
14
|
-
|
|
15
|
-
You can automatically initialize all config files in your app, by just running:
|
|
16
|
-
|
|
17
|
-
```bash
|
|
18
|
-
pnpm janus init [app-type]
|
|
19
|
-
```
|
|
20
|
-
|
|
21
|
-
This will copy all config files to your project and add required packages.
|
|
22
|
-
If any of the files changed, you should run the lint fixers + `pnpm i` afterwards.
|
|
23
|
-
|
|
24
|
-
You can currently initialize the following app types:
|
|
25
|
-
|
|
26
|
-
- `next-js`
|
|
6
|
+
> 📚 [**Read the docs**](https://21torr-docs.pages.dev/docs/ts-scss/janus-ts/)
|
|
27
7
|
|
|
28
8
|
|
|
29
9
|
## Contributing
|
package/eslint/base.mjs
CHANGED
|
@@ -145,7 +145,8 @@ export default [
|
|
|
145
145
|
"@typescript-eslint/explicit-function-return-type": "off",
|
|
146
146
|
// └> covered by: @typescript-eslint/explicit-module-boundary-types
|
|
147
147
|
"@typescript-eslint/explicit-member-accessibility": "error",
|
|
148
|
-
|
|
148
|
+
// disable, as don't want it all the time
|
|
149
|
+
"@typescript-eslint/explicit-module-boundary-types": "off",
|
|
149
150
|
"@typescript-eslint/max-params": ["warn", {
|
|
150
151
|
max: 6,
|
|
151
152
|
}],
|
package/package.json
CHANGED
package/_init/library/.nvmrc
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
v20.16.0
|
package/_init/next-js/.nvmrc
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
v20.16.0
|