
Security News
Axios Supply Chain Attack Reaches OpenAI macOS Signing Pipeline, Forces Certificate Rotation
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.
@piondev/shared-configs
Advanced tools
`@piondev/shared-configs`는 JavaScript/TypeScript 프로젝트의 ESLint, Prettier, Biome 설정을 공유하는 목적으로 제작되었습니다. 이를 통해 보다 일관성 있는 코드 스타일을 유지하고 잠재적으로 발생하는 programmatic error를 줄이고자 합니다.
@piondev/shared-configs는 JavaScript/TypeScript 프로젝트의 ESLint, Prettier, Biome 설정을 공유하는 목적으로 제작되었습니다.
이를 통해 보다 일관성 있는 코드 스타일을 유지하고 잠재적으로 발생하는 programmatic error를 줄이고자 합니다.
크게 linting과 formatting으로 나뉘어지게 되는데 각 툴은 다음과 같은 것들을 담당하게 됩니다:
현재 ESLint와 Biome 설정은 기본 규칙에서 많은 부분을 비활성화했습니다. 이는 현재 코드베이스에 급격한 변화를 주어 혼란이나 충돌이 발생하는 것을 방지하기 위함입니다. 추가로 비활성화하거나 활성화할 규칙이 있다면 언제든지 PR을 보내주세요. :)
Make sure that @piondev/shared-configs is correctly installed in your project.
npm install --save-dev @piondev/shared-configs
# or
yarn add -D @piondev/shared-configs
Create a biome.json file to look like the following snippet:
{
"extends": ["@piondev/shared-configs/biome"]
}
Now, run Biome in your project:
npx biome check --write
Create a eslint.config.mjs file to look like the following snippet:
import config from "@piondev/shared-configs/eslint"
export default [
...config
// rest of your config
]
Create a prettier.config.mjs file to look like the following snippet:
import config from "@piondev/shared-configs/prettier"
export default {
...config
// rest of your config
}
Finally, add the following scripts to your package.json:
"scripts": {
"lint": "yarn lint:eslint && yarn lint:prettier && yarn lint:biome",
"lint:eslint": "eslint . --fix",
"lint:prettier": "prettier '**/*.{ts,tsx,js,jsx,json,md,cjs,mjs,mts,yml,yaml}' --write",
"lint:biome": "yarn biome check --write"
}
ESLint, Prettier, Biome을 함께 사용하는 이유는 다음과 같습니다:
이러한 접근 방식을 통해 코드 품질을 높이고, 개발 효율성을 향상시키며, 프로젝트의 요구사항에 맞는 최적의 도구 조합을 구성하고자 합니다.
FAQs
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
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.

Security News
Open source is under attack because of how much value it creates. It has been the foundation of every major software innovation for the last three decades. This is not the time to walk away from it.

Security News
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.