Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
dummdidumm committed Jun 12, 2024
1 parent 3e0cb1b commit ebc2076
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 7 deletions.
1 change: 1 addition & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,6 @@
"no-console": "off",
"line-comment-position": "off",
"import/order": "off",
"@typescript-eslint/ban-ts-comment": "off",
},
}
5 changes: 2 additions & 3 deletions src/processors/babel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,8 @@ export default (options?: Options.Babel): PreprocessorGroup => ({
async script(svelteFile) {
const { transformer } = await import('../transformers/babel');

let { content, filename, dependencies, attributes } = await getTagInfo(
svelteFile,
);
let { content, filename, dependencies, attributes } =
await getTagInfo(svelteFile);

content = prepareContent({ options, content });

Expand Down
5 changes: 2 additions & 3 deletions src/processors/postcss.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,8 @@ import type { PreprocessorGroup, Options } from '../types';
export default (options?: Options.Postcss): PreprocessorGroup => ({
async style(svelteFile) {
const { transformer } = await import('../transformers/postcss');
let { content, filename, attributes, dependencies } = await getTagInfo(
svelteFile,
);
let { content, filename, attributes, dependencies } =
await getTagInfo(svelteFile);

content = prepareContent({ options, content });

Expand Down
2 changes: 1 addition & 1 deletion src/types/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import type {

export { Options };

export { PreprocessorGroup }
export { PreprocessorGroup };

export type PreprocessorArgs = Preprocessor extends (options: infer T) => any
? T
Expand Down

0 comments on commit ebc2076

Please sign in to comment.