9 Commits

Author SHA1 Message Date
Wonsuk Choi
612d5c4647
chore(eslint.config): replace deprecated 'tseslint.config' with 'defineConfig' (#3231)
Co-authored-by: Daishi Kato <dai-shi@users.noreply.github.com>
2025-09-10 19:37:07 +09:00
Daishi Kato
c4085a4ff0
chore: strict unused check (#3215) 2025-08-19 09:26:59 +09:00
Wonsuk Choi
295bf970a3
test(*): add 'expect' with 'toBeInTheDocument' (#3162)
* test(*): add 'expect' with 'toBeInTheDocument'

* chore(eslint.config): enable 'vitest/expect-expect' rule
2025-06-29 11:49:16 +09:00
Wonsuk Choi
37878da019
chore(eslint): remove overrides for .js files (#3126) 2025-05-20 15:29:27 +09:00
Wonsuk Choi
9a58ca9c95
chore(eslint): update to 'eslint-plugin-react-hooks@6.0.0-rc.1', remove 'eslint-plugin-react-compiler' (#3122) 2025-05-17 14:13:12 +09:00
Wonsuk Choi
028909eafa
chore(eslint): enforce file extension usage for internal modules, ignore external packages (#3116)
* chore(eslint): enforce file extension usage for internal modules, ignore external packages

* chore(*): apply the updated ESLint rules to the relevant files
2025-05-10 22:45:58 +09:00
Wonsuk Choi
f85898fdbe
chore(eslint.config.mjs): update 'eslint-plugin-react-hooks', 'eslint-plugin-react-compiler' config (#3043)
* chore(eslint.config.mjs): update 'eslint-plugin-react-hooks' config to use 'recommended-latest'

* chore(package.json): update 'eslint-plugin-react-hooks' to latest version

* chore(pnpm-lock.yaml): relfect 'package.json'

* chore(package.json): update 'eslint-plugin-react-compiler' to latest version

* chore(pnpm-lock.yaml): reflect 'package.json'

* chore(eslint.config.mjs): update 'eslint-plugin-react-compiler' config
2025-03-11 22:01:22 +09:00
Wonsuk Choi
2e6d881309
chore(eslint): change 'dist' area in 'ignores', sort rules (#2924)
* chore(eslint): change 'dist' area in 'ignores'

* chore(eslint): sort by the order 'plugins' were added and by name

* Update eslint.config.mjs

Co-authored-by: Daishi Kato <dai-shi@users.noreply.github.com>

---------

Co-authored-by: Daishi Kato <dai-shi@users.noreply.github.com>
2024-12-31 09:17:25 +09:00
Wonsuk Choi
55a7d0a15b
chore(eslint): migrate to flat config and simplify (#2912)
* chore(package.json): update related eslint library, update script for eslint.config.js

* chore(pnpm-lock.yaml): reflect changes in package.json

* chore(eslint): migrate eslint configuration .eslintrc.json to eslint.config.js

* chore(examples/demo/package.json): update related eslint library, update script for eslint.config.js

* chore(examples/demo/pnpm-lock.yaml): reflect changes in package.json

* chore(examples/demo/eslint): migrate eslint configuration .eslintrc.cjs to eslint.config.js

* style(examples/demo/utils/copy-to-clipboard.js): add global comment for eslint

* chore(eslint): change file extension 'js' to 'mjs'

* chore(package.json): consise 'lint' scripts

* chore(examples/demo): remove eslint.config.js

* chore(examples/demo/package.json): remove libraries associated wiht eslint, update lint script

* chore(examples/demo/pnpm-lock.yaml): reflect changes in package.json

* chore(examples/demo): reflect 'eslint . --fix' changes based on main 'eslint.config.mjs'

* chore(examples/demo/package.json): add libraries associated wiht eslint, update lint script

* chore(examples/demo/pnpm-lock.yaml): reflect changes in package.json

* chore(examples/demo): add eslint.config.js

* chore(package.json): add mjs in 'eslint', 'test:lint' script

* Update eslint.config.mjs

Co-authored-by: Daishi Kato <dai-shi@users.noreply.github.com>

* Update examples/demo/eslint.config.js

Co-authored-by: Daishi Kato <dai-shi@users.noreply.github.com>

* chore(eslint): remove eslint configuration related to prettier

* chore(package.json): remove eslint-{config,plugin}-prettier

* chore(package.json): add tslib in devDependencies

* chore(eslint): remove duplicate shared-node-browser from globals

* chore(eslint): change 'eslint-import-resolver-alias' to 'eslint-import-resolver-typescript'

* chore(eslint): add 'import/no-named-as-default-member' off

* chore(eslint): remove duplicate rules, rearrange sequentially within a rule

* chore(eslint): remove the ‘off’ settings in ‘eslint-plugin-import’ to ensure clearer usage.

* chore(eslint): remove 'no-console' in rules

* chore(eslint): simplify settings 'import/resolver'

* chore(eslint): remove 'globals' config

* chore(rollup): add 'eslint-disable no-undef'

* chore(package.json): remove 'globals' library

* chore(pnpm-lock.yaml): reflect changes in package.json

* chore(eslint): add 'importPlugin.flatConfigs.recommended'

* chore(eslint): remove duplicate 'languageOptions'

* chore(eslint): remove 'import/extensions', 'import/parsers' to simplify

* chore(eslint): add 'examples/**' in 'ignores'

* chore(package.json): simplify 'lint' scripts

---------

Co-authored-by: Daishi Kato <dai-shi@users.noreply.github.com>
2024-12-29 22:18:02 +09:00