Configs
Different usefull config files I use in my projects and other settings, templates, ...
Install
npm install @nejcm/configs --save-dev
# OR
yarn add -D @nejcm/configs
Included
Configs
Github
VSCode
Use
Inside your specific config file:
.eslintrc.js
const config = require("@nejcm/configs/src/.eslintrc.js");
module.exports = Object.assign(config, {
// your overriding or other config options
});
tsconfig.json
{
"extends": "./node_modules/@nejcm/configs/src/tsconfig.json",
"compilerOptions": {
...
},
}
global.d.ts
{
"compilerOptions": {
"types": ["@nejcm/configs/src/global.d.ts"]
}
}