@snowcoders/renovate-config v2.0.3
Renovate configs (and more)
This repository hosts several sharable configs that can be consumed and customized by Snowcoders packages.
We're open to hosting more, as long as they are a part of the Snowcoders ecosystem.
Other things that are useful from this repository
- .gitignore - We wil notify about updates via our changelog
- .npmignore - We wil notify about updates via our changelog
Usage
A great example of how to use these configs is this repository itself! Though for you instead of referencing the dist
folder directly you would reference @snowcoders/renovate-config
Eslint config
Install dependencies
npm i --save-dev --exact eslint @typescript-eslint/parser @typescript-eslint/eslint-plugin eslint-config-prettier eslint-plugin-prettier
Create file
.eslintrc.js
.Add the following contents
/* eslint-disable */ const configs = require("@snowcoders/renovate-config"); module.exports = configs.eslint;
Husky config
Install dependencies
npm i --save-dev --exact husky lint-staged
Create file
.huskyrc.js
.Add the following contents
/* eslint-disable */ const configs = require("@snowcoders/renovate-config"); module.exports = configs.husky;
Jest config
Install dependencies
npm i --save-dev --exact jest ts-jest
Create file
jest.config.js
.Add the following contents
/* eslint-disable */ const configs = require("@snowcoders/renovate-config"); module.exports = configs.jest;
Lint staged config
Install dependencies
npm i --save-dev --exact husky lint-staged
Create file
.lintstagedrc.js
.Add the following contents
/* eslint-disable */ const configs = require("@snowcoders/renovate-config"); module.exports = configs.lintStaged;
Prettier config
Install dependencies
npm i --save-dev --exact prettier
Create file
.prettierrc.js
.Add the following contents
/* eslint-disable */ const configs = require("@snowcoders/renovate-config"); module.exports = configs.prettier;
Sortier config
Install dependencies
npm i --save-dev --exact sortier
Create file
.sortierrc.js
.Add the following contents
/* eslint-disable */ const configs = require("@snowcoders/renovate-config"); module.exports = configs.sortier;
Typescript config
Install dependencies
npm i --save-dev --exact typescript
Create file
.tsconfig.json
.Add the following contents
{ "compilerOptions": { /* Must be defined per project */ "outDir": "./dist/", /* Useful for development builds */ "sourceMap": true, /* Depends per project */ "module": "CommonJS", /* Depends per project */ "target": "ES5" }, "extends": "@snowcoders/renovate-config", "include": ["./src/**/*.ts", "./src/**/*.tsx"] }
12 months ago
12 months ago
12 months ago
1 year ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
3 years ago
3 years ago
3 years ago
4 years ago
4 years ago
4 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago