Skip to content

Commit

Permalink
eslit adjusted
Browse files Browse the repository at this point in the history
  • Loading branch information
KaiHotz committed Aug 25, 2023
1 parent e7873f5 commit ee0b43c
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 6 deletions.
2 changes: 2 additions & 0 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ module.exports = {
'src/graphql/generated/*',
],
rules: {
'newline-before-return': 'error',
'react/jsx-uses-react': 'error',
'react/jsx-uses-vars': 'error',
'no-console': 'warn',
Expand Down Expand Up @@ -123,6 +124,7 @@ module.exports = {
},
{
files: [
'*story.*',
'*stories.*',
'src/pages/**/*.tsx',
'additional.d.ts',
Expand Down
2 changes: 1 addition & 1 deletion rollup.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import postcss from 'rollup-plugin-postcss';
import dts from 'rollup-plugin-dts';
import { terser } from 'rollup-plugin-terser';

import packageJson from './package.json' assert { type: 'json' };
import packageJson from './package.json' assert { type: 'json' }; // eslint-disable-line

export default [
{
Expand Down
5 changes: 5 additions & 0 deletions src/components/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
export { Button } from './Button';
export type { IButtonProps } from './Button';

export { Tabs, Tab, TabPanel, TabsList } from './Tabs';
export type { ITabsProps, ITabProps, ITabPanelProps, ITabsListProps } from './Tabs';
6 changes: 1 addition & 5 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1 @@
export { Button } from './components/Button';
export type { IButtonProps } from './components/Button';

export { Tabs, Tab, TabPanel, TabsList } from './components/Tabs';
export type { ITabsProps, ITabProps, ITabPanelProps, ITabsListProps } from './components/Tabs';
export * from './components'

0 comments on commit ee0b43c

Please sign in to comment.