Skip to content

Commit

Permalink
test: fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
younggglcy committed Jun 4, 2024
1 parent 92d6003 commit 286181a
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
3 changes: 2 additions & 1 deletion packages/eslint/rollup.config.mjs
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
import { readFileSync } from 'fs';

import { createConfig } from '../../shared/rollup.config.mjs';
import esmShim from '@rollup/plugin-esm-shim';
import typescript from '@rollup/plugin-typescript';

import { createConfig } from '../../shared/rollup.config.mjs';

export default {
...createConfig({
pkg: JSON.parse(readFileSync(new URL('./package.json', import.meta.url), 'utf8'))
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export default [{
module.exports = [{
ignores: process.env.NODE_ENV === 'test' ? ["ignored.js"] : ["**/*.js"],
languageOptions: {
ecmaVersion: 2015,
Expand Down
6 changes: 4 additions & 2 deletions packages/eslint/test/test.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,15 @@ import fs from 'fs';

import { createRequire } from 'module';

import { resolve } from 'path';

import { fileURLToPath } from 'url';

import test from 'ava';
import nodeResolve from '@rollup/plugin-node-resolve';
import { rollup } from 'rollup';

import eslint from 'current-package';
import { resolve } from 'path';
import { fileURLToPath } from 'url';

const fixtures = resolve(fileURLToPath(new URL('.', import.meta.url)), 'fixtures');

Expand Down

0 comments on commit 286181a

Please sign in to comment.