Skip to content

Commit

Permalink
fix: update lint code
Browse files Browse the repository at this point in the history
  • Loading branch information
eryue0220 committed Apr 25, 2024
1 parent 24dd703 commit 92c9ca5
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 7 deletions.
1 change: 0 additions & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
.github/
dist/
node_modules/
examples/
4 changes: 2 additions & 2 deletions examples/rollup-example/rollup.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { readFileSync } from 'fs';
import { readFileSync } from 'fs'
import nodeResolve from '@rollup/plugin-node-resolve'
import commonjs from '@rollup/plugin-commonjs'
import babel from '@rollup/plugin-babel'
Expand Down Expand Up @@ -48,7 +48,7 @@ export default {
title: 'Stylex With Rollup',
template: ({ attributes, files, publicPath, title }) => {
const htmlTemplate = 'public/index.html'
const { css, js } = files;
const { css, js } = files
const scripts = (js || [])
.map(({ fileName }) =>
`<script src="${publicPath}${fileName}" ${makeHtmlAttributes(attributes.script)}></script>`
Expand Down
4 changes: 2 additions & 2 deletions examples/vue-example/src/vite-env.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/// <reference types="vite/client" />

declare module "*.vue" {
import type { DefineComponent } from "vue"
declare module '*.vue' {
import type { DefineComponent } from 'vue'
const component: DefineComponent<object, object, any>
export default component
}
4 changes: 2 additions & 2 deletions examples/webpack-example/webpack.config.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
'use strict';
'use strict'

const path = require('path')
const HtmlWebpackPlugin = require('html-webpack-plugin');
const HtmlWebpackPlugin = require('html-webpack-plugin')
const { default: stylexWebpackPlugin } = require('unplugin-stylex/webpack')

const isDev = process.env.NODE_ENV === 'development'
Expand Down

0 comments on commit 92c9ca5

Please sign in to comment.