Registry / testing / eslint-config-code-style-lint-react-ts

eslint-config-code-style-lint-react-ts

JSON →
library3.1.4jsnpmunverified

ESLint and Prettier shareable config for React TypeScript projects. Version 3.1.4. Part of the code-style-lint family covering JS/TS, Vue, React, and Nuxt. Provides a zero-config ESLint setup with TypeScript support, React hooks, and JSX accessibility rules. Releases are periodic with dependency updates. Differentiator: unified config across React TS projects, easy migration via one-line extends.

npm install eslint-config-code-style-lint-react-ts
INSTALL
IMPORT
SIG · ESLINT-CONFIG-CODE
E
eslint-config-code-style-lint-react-ts
testingjavascriptv3.1.4
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

eslint-config
✓ extends: ['code-style-lint-react-ts']
✗ extends: ['eslint-config-code-style-lint-react-ts']
The package name in extends omits the eslint-config- prefix.
config object
✓ module.exports = { extends: ['code-style-lint-react-ts'] }
✗ import config from 'eslint-config-code-style-lint-react-ts'
This is a shareable ESLint config, not a JS module. Use in .eslintrc file.
CLI
✓ npx eslint .
✗ npx eslint-config-code-style-lint-react-ts
Run ESLint directly, not the config package.

Installs the config, creates .eslintrc with the shareable config, sets up Prettier, and lints the project.

npm install eslint-config-code-style-lint-react-ts eslint prettier typescript -D echo '{ "extends": ["code-style-lint-react-ts"] }' > .eslintrc echo '{ "semi": true, "singleQuote": true }' > .prettierrc npx eslint . --fix
Debug
Known issues
breakingVersion 3.x requires ESLint 7+ and TypeScript 3.3+
fix
Update ESLint and TypeScript to supported versions.
affects: >=3.0.0 <4.0.0
gotchaThe extends name must omit the eslint-config- prefix.
fix
Use 'code-style-lint-react-ts' instead of full package name.
affects: >=0.0.0
deprecatedVersion 2.x uses deprecated ESLint rules (e.g., no-use-before-define).
fix
Upgrade to v3 to get updated rule sets.
affects: >=2.0.0 <3.0.0
Errors
Common errors & fixes
ESLint couldn't find the config 'code-style-lint-react-ts'
The package is not installed or the extends name is incorrect.
fix
Run npm install eslint-config-code-style-lint-react-ts -D and use 'code-style-lint-react-ts' in extends.
Cannot find module 'eslint-config-code-style-lint-react-ts'
The package is not installed under node_modules.
fix
Install the package: npm install eslint-config-code-style-lint-react-ts -D.
TypeScript 'strict' mode conflicts with config
The config may assume less strict TypeScript options.
fix
Adjust your tsconfig.json compilerOptions according to the config's peer dependency notes.
Upgrade
Version history
3.1.4latest on npm
Audit
Dependencies
eslintrequiredpeer dependency
typescriptrequiredpeer dependency
prettieroptionalrequired for formatting
Agent activity
6 hits · last 30 days
node
6
Resources
eslint-config-code-style-lint-react-ts — npm install eslint-config-code-style-lint-react-ts · libregistry