Skip to content

Commit

Permalink
build(eslint): fix dts linting
Browse files Browse the repository at this point in the history
  • Loading branch information
webistomin committed Mar 16, 2021
1 parent bd2da0a commit 6acbd61
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,5 @@ module.exports = {
'import/no-extraneous-dependencies': 'off',
'prefer-object-spread': 'off',
},
ignorePatterns: ['!.*', 'src/vue-socials.d.ts'],
ignorePatterns: ['!.*'],
};
6 changes: 5 additions & 1 deletion build/rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,11 @@ if (!argv.format || argv.format === 'esm') {
commonjs(),
copy({
targets: [
{ src: 'src/vue-socials.d.ts', dest: 'dist/types' },
{
src: 'src/lib.d.ts',
dest: 'dist/types',
rename: (name, extension) => `vue-socials.d.${extension}`,
},
],
}),
],
Expand Down
File renamed without changes.

1 comment on commit 6acbd61

@vercel
Copy link

@vercel vercel bot commented on 6acbd61 Mar 16, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.