Skip to content

Commit 8b5e090

Browse files
author
Flatlogic Bot
committed
refactor: complete Vite modernization and remove legacy styling layer
1 parent 18d17ec commit 8b5e090

145 files changed

Lines changed: 5808 additions & 29757 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.nvmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
22

babel.config.js

Lines changed: 0 additions & 7 deletions
This file was deleted.

eslint.config.cjs

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
const js = require('@eslint/js');
2+
const globals = require('globals');
3+
4+
module.exports = [
5+
{
6+
ignores: ['build/**', 'node_modules/**'],
7+
},
8+
{
9+
files: ['src/**/*.{js,jsx}'],
10+
languageOptions: {
11+
ecmaVersion: 'latest',
12+
sourceType: 'module',
13+
parserOptions: {
14+
ecmaFeatures: {
15+
jsx: true,
16+
},
17+
},
18+
globals: {
19+
...globals.browser,
20+
...globals.node,
21+
},
22+
},
23+
rules: {
24+
...js.configs.recommended.rules,
25+
'no-case-declarations': 'warn',
26+
'no-extra-boolean-cast': 'warn',
27+
'no-prototype-builtins': 'warn',
28+
'no-unused-vars': 'warn',
29+
'no-useless-assignment': 'warn',
30+
},
31+
},
32+
{
33+
files: ['src/test/**/*.{js,jsx}'],
34+
languageOptions: {
35+
globals: {
36+
...globals.jest,
37+
vi: 'readonly',
38+
},
39+
},
40+
},
41+
];

0 commit comments

Comments
 (0)