
Security News
RubyGems Adds Cooldown Feature to Bundler for Newly Published Gems
RubyGems and Bundler 4.0.13 introduced an opt-in cooldown feature that delays newly published gems during dependency resolution.
@joaoptgrilo/dev-config
Advanced tools
Sharable configurations for ESLint, Prettier, TypeScript, Playwright, and more.
A sharable suite of configurations for my personal TypeScript projects, including ESLint, Prettier, and TSConfig.
This package provides a single source of truth for development standards, ensuring consistency and rapid setup for new projects.
.vscode/) for a seamless, format-on-save developer experience.Install the package and its required peer dependencies in your new project:
npm install @joaoptgrilo/dev-config eslint typescript prettier @playwright/test --save-dev
After installation, you can easily extend the configurations in your project.
In your project's root, create an eslint.config.js file and import the desired configuration.
Example for a Next.js Project:
// eslint.config.js
import jgConfig from "@joaoptgrilo/dev-config";
// Use the Next.js preset from the shared package
export default [
...jgConfig.next,
// You can add project-specific overrides here if needed
];
In your project's tsconfig.json, extend the base configuration from the package.
{
"extends": "@joaoptgrilo/dev-config/tsconfig/base.json",
"compilerOptions": {
// Add your project-specific paths and settings here
"plugins": [{ "name": "next" }],
"baseUrl": ".",
"paths": {
"@/*": ["./src/*"]
}
},
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],
"exclude": ["node_modules"]
}
Create a .prettierrc.js (note the .js extension) file at the root of your project that imports the shared config.
// .prettierrc.js
module.exports = require("@joaoptgrilo/dev-config/.prettierrc.json");
In your project's playwright.config.ts, import and extend the base configuration.
import { defineConfig } from "@playwright/test";
import baseConfig from "@joaoptgrilo/dev-config/playwright/base.config";
export default defineConfig({
...baseConfig,
testDir: "./e2e",
use: {
...baseConfig.use,
baseURL: "http://localhost:3000",
},
});
FAQs
Sharable configurations for TypeScript, ESLint, Prettier, and more.
The npm package @joaoptgrilo/dev-config receives a total of 25 weekly downloads. As such, @joaoptgrilo/dev-config popularity was classified as not popular.
We found that @joaoptgrilo/dev-config demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
RubyGems and Bundler 4.0.13 introduced an opt-in cooldown feature that delays newly published gems during dependency resolution.

Security News
pnpm 11.5 now recognizes npm staged publish approvals in release metadata, preventing those releases from being mistaken for lower-trust package publishes.

Security News
Federal audit finds NIST lacked a plan to clear the NVD backlog, wasted funds on duplicate work, and delayed use of CISA data.