Files
Shaheer KochaiandGitHub 46a92f1dac feat: initial setup for components library
* feat: initial setup for components library (#2)

* fix: properly inject css in button and input

* chore: remove Vite boilerplate style

* chore: update repo link in readme

* @signoz -> @signozhq

* chore: rename packages playground dev script

* chore: update readme

* chore: wrap input and button classNames in cn

* chore: update readme

* Update README.md

* chore: upgrade storybook and add preview.js
2024-09-27 20:52:48 +04:30

40 lines
869 B
JavaScript

const { resolve } = require("node:path");
const project = resolve(process.cwd(), "tsconfig.json");
/*
* This is a custom ESLint configuration for use a library
* that utilizes React.
*
* This config extends the Vercel Engineering Style Guide.
* For more information, see https://github.com/vercel/style-guide
*
*/
module.exports = {
extends: [
"@vercel/style-guide/eslint/browser",
"@vercel/style-guide/eslint/typescript",
"@vercel/style-guide/eslint/react",
].map(require.resolve),
parserOptions: {
project,
},
plugins: ["only-warn"],
globals: {
JSX: true,
},
settings: {
"import/resolver": {
typescript: {
project,
},
},
},
ignorePatterns: ["node_modules/", "dist/", ".eslintrc.js", "**/*.css"],
// add rules configurations here
rules: {
"import/no-default-export": "off",
},
};