UNPKG

@nexusui/eslint-config

Version:
50 lines (37 loc) 1.6 kB
# Changelog (@nexusui/eslint-config) ## 3.0.0-alpha.0 (2024-04-21) ### Added * **Flat Config support**: Introduced a new ESM entry `flat.mjs` to support [ESLint Flat Config](https://eslint.org/docs/latest/use/configure/configuration-files-new), enabling modern configuration via `eslint.config.mjs`. * **React integration**: The Flat Config now includes recommended React rules out of the box for unified code style in modern React/TypeScript projects. ### Updated * Updated ESLint configuration to use latest TypeScript ESLint rules * Optimized type-checking related lint rules ## 2.0.0-alpha.0 (2024-02-22) ### Removed * Removed `eslint-config-react-app` dependency and related rules. ## 1.0.0-alpha.1 (2023-03-02) ### Updated updated following rules: * `no-console`: [`warn`, { allow: [`warn`, `error`] }], * `no-plusplus`: [`warn`, { allowForLoopAfterthoughts: true }], * `no-param-reassign`: `off`, * `no-else-return`: `off`, * `no-nested-ternary`: `off`, * `spaced-comment`: `off`, * `func-names`: `off`, * `prefer-destructuring`: `off`, * `consistent-return`: `off`, * `operator-assignment`: `off`, * `global-require`: `off`, * `import/order`: `off` * `import/extensions`: `off`, * `import/prefer-default-export`: `off`, * `import/no-anonymous-default-export`: `off`, ## 1.0.0-alpha.0 (2023-02-20) ### Added * Added `eslint-config-airbnb` and `eslint-config-airbnb-typescript`. ### Removed * Removed `eslint-config-google`. * Removed `eslint-config-prettier` and `eslint-plugin-prettier` from package ## 0.0.1-alpha.1 (2022-09-23) Initial @nexusui/eslint-config package.