1.0.0-alpha.2 • Published 1 year ago
@tailor-platform/dev-config v1.0.0-alpha.2
Tailor's base configurations for ESLint, Prettier and Typescript.
Installation
npm install -D @tailor-platform/dev-configIf you are using pnpm:
pnpm install -D @tailor-platform/dev-config@latestUsage
Prettier
Add the following in your package.json:
{
// ...
"prettier": "@tailor-platform/dev-config/prettier",
}See sharing configuration for more details.
ESLint
Add the following line in your .eslintrc.js file to extend the rules from @tailor-platform/dev-config/eslint:
module.exports = {
...require("@tailor-platform/dev-config/eslint"),
};Typescript
Add the following in your tsconfig.json:
{
"extends": "@tailor-platform/dev-config/typescript/nextjs",
}Overriding configuration
module.exports = {
...require("@tailor-platform/dev-config/prettier"),
// your overrides here
};1.0.0-alpha.2
1 year ago
1.0.0-alpha
1 year ago
0.7.0
2 years ago
0.6.0-preview.4
2 years ago
0.6.0-preview.3
2 years ago
0.6.0-preview.6
2 years ago
0.6.0-preview.5
2 years ago
0.6.0
2 years ago
0.6.0-preview.2
2 years ago
0.6.0-preview.1
2 years ago
0.5.0-preview.1
2 years ago
0.5.0
2 years ago
0.4.0
2 years ago
0.3.0-preview.2
2 years ago
0.3.0-preview.1
2 years ago
0.3.0
2 years ago