1
0
mirror of https://github.com/dzeiocom/libs.git synced 2025-04-22 19:02:14 +00:00
Florian Bouillon 3d02a29bc5
Move to NPM (#32)
* Update workflow

Signed-off-by: Avior <github@avior.me>

* Fixed parcel version

Signed-off-by: Avior <github@avior.me>

* Some more fixes

Signed-off-by: Avior <github@avior.me>

* Removed console.memory

Signed-off-by: Avior <github@avior.me>

* Update

Signed-off-by: Avior <github@avior.me>

* fuck windows

Signed-off-by: Avior <github@avior.me>

* bump config for better node 12 support

Signed-off-by: Avior <github@avior.me>
2021-09-28 15:57:36 +02:00
..
2021-09-05 14:27:44 +02:00
2021-07-10 18:50:50 +02:00
2021-07-10 18:50:50 +02:00
2021-07-10 18:50:50 +02:00
2021-09-28 12:19:22 +02:00
2021-09-28 15:57:36 +02:00
2021-07-10 18:50:50 +02:00
2021-09-28 15:57:36 +02:00
2021-07-10 18:50:50 +02:00

Dzeio Config

thoses are base configuration files for multiple items

ESLint

Depending on your configuration add a .eslintrc.json to your repository and add the following code (remove the comments if you keep it a a json file)

{
	"extends": [
		// Note: add only one file as they calls each ones out
		
		// Base configuration for javascript
		"./node_modules/@dzeio/config/eslint/base",

		// React configuration
		"./node_modules/@dzeio/config/eslint/react",

		// Typescript configuration
		"./node_modules/@dzeio/config/eslint/typescript",

		// Typescript AND React configuration
		"./node_modules/@dzeio/config/eslint/react-typescript",
	]
}

Typescript

{
	// Note: Only include one file

	// Base Typescript configuration
	"extends": "@dzeio/config/tsconfig.base.json",

	// Base NextJS configuration
	"extends": "@dzeio/config/tsconfig.nextjs.json",
}

Copy-paste

files under the folder copy-paste are configurations that can't be extended so you'll have to copy/paste them into your repository