@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-prettierCreate 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-stagedCreate 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-jestCreate 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-stagedCreate 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 prettierCreate 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 sortierCreate 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 typescriptCreate 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"] }
2 years ago
2 years ago
2 years ago
2 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 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
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago