Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: housekeeping #168

Open
wants to merge 12 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: '18'
node-version-file: '.node-version'
- name: Prepare env
run: |
if [ ${{ matrix.build_type }} == 'cernet' ]; then
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@ Thumb.db
tailwind.config.js
public/og-*
.env*.local
next-env.d.ts
2 changes: 1 addition & 1 deletion .node-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
18
22
19 changes: 18 additions & 1 deletion eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ module.exports = require('eslint-config-sukka').sukka(
ignores: {
customGlobs: [
'src/compiled/**/*',
'**/*.{md,mdx}'
'**/*.{md,mdx}',
'src/components/cmdk/index.tsx'
]
},
node: {
Expand All @@ -16,6 +17,22 @@ module.exports = require('eslint-config-sukka').sukka(
]
}
},
{
files: [
'src/pages/**/*.tsx'
],
rules: {
'@eslint-react/naming-convention/filename': 'off'
}
},
{
files: [
'src/contexts/**/*.tsx'
],
rules: {
'react-refresh/only-export-components': 'off'
}
},
{
...mdx.flat,
// optional, if you want to lint code blocks at the same
Expand Down
5 changes: 0 additions & 5 deletions next-env.d.ts

This file was deleted.

1 change: 0 additions & 1 deletion next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ module.exports = withBundleAnalyzer(withStyle9({
reactStrictMode: true,
output: 'export',
experimental: {
workerThreads: true,
optimizeCss: process.env.NODE_ENV === 'production' ? {
logLevel: 'warn'
} : false
Expand Down
Loading
Loading