Files
o11y-components/packages/eslint-config/library.js
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

36 lines
720 B
JavaScript

const { resolve } = require("node:path");
const project = resolve(process.cwd(), "tsconfig.json");
/*
* This is a custom ESLint configuration for use with
* typescript packages.
*
* 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/node",
"@vercel/style-guide/eslint/typescript",
].map(require.resolve),
parserOptions: {
project,
},
plugins: ["only-warn"],
globals: {
React: true,
JSX: true,
},
settings: {
"import/resolver": {
typescript: {
project,
},
},
},
ignorePatterns: ["node_modules/", "dist/"],
};