Skip to content

Commit 8cb668f

Browse files
committed
fix: ES module -> commonjs
1 parent 63cc3de commit 8cb668f

File tree

3 files changed

+6
-7
lines changed

3 files changed

+6
-7
lines changed

.github/workflows/pr-commit-linting.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,5 +29,5 @@ jobs:
2929
if: always()
3030
uses: ataylorme/eslint-annotate-action@v3
3131
with:
32-
report-json: ./web/eslint-report.json
32+
report-json: app/web/eslint-report.json
3333
only-pr-files: true

eslint.config.js

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
import react from 'eslint-plugin-react';
2-
import typescript from '@typescript-eslint/eslint-plugin';
3-
import parser from '@typescript-eslint/parser';
4-
import prettier from 'eslint-plugin-prettier';
1+
const react = require('eslint-plugin-react');
2+
const typescript = require('@typescript-eslint/eslint-plugin');
3+
const parser = require('@typescript-eslint/parser');
4+
const prettier = require('eslint-plugin-prettier');
55

6-
export default [
6+
module.exports = [
77
{
88
files: ['./**/*.{ts,tsx,js,jsx}'],
99
languageOptions: {

package.json

-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
"name": "javazone2025",
33
"version": "1.0.0",
44
"main": "expo-router/entry",
5-
"type": "module",
65
"scripts": {
76
"start": "expo start",
87
"android": "expo run:android",

0 commit comments

Comments
 (0)