{"id":27112,"library":"lint-and-ts-configs","title":"lint-and-ts-configs","description":"A shared configuration package for ESLint, TypeScript, and semantic-release, providing base configurations for linting and TypeScript compilation. Version 1.2.9 (latest) is stable, with infrequent releases. Designed for monorepos and projects needing consistent linting and TypeScript settings without manual setup. Differentiators include a unified config approach for ESLint, TSConfig, and semantic-release, though documentation is sparse and updates are rare. Note: project seems to be in maintenance mode, last release in 2021.","status":"maintenance","version":"1.2.9","language":"javascript","source_language":"en","source_url":"git://github.com/sarkistlt/lint-and-ts-configs","tags":["javascript"],"install":[{"cmd":"npm install lint-and-ts-configs","lang":"bash","label":"npm"},{"cmd":"yarn add lint-and-ts-configs","lang":"bash","label":"yarn"},{"cmd":"pnpm add lint-and-ts-configs","lang":"bash","label":"pnpm"}],"dependencies":[{"reason":"peer dependency for ESLint TypeScript rules","package":"@typescript-eslint/eslint-plugin","optional":false},{"reason":"peer dependency for ESLint TypeScript parser","package":"@typescript-eslint/parser","optional":false},{"reason":"peer dependency for TypeScript compilation","package":"typescript","optional":false}],"imports":[{"note":"Use relative path to node_modules in extends, not a direct require.","wrong":"require('lint-and-ts-configs').eslint","symbol":"ESLint config","correct":"module.exports = { extends: ['./node_modules/lint-and-ts-configs/lib/eslint/base.js'] }"},{"note":"Must include 'lib/' in the path.","wrong":"extends: 'lint-and-ts-configs/semantic/base'","symbol":"semantic-release config","correct":"module.exports = { extends: 'lint-and-ts-configs/lib/semantic/base', repositoryUrl: '...' }"},{"note":"Use absolute path relative to project root, include .json extension.","wrong":"{\"extends\": \"lint-and-ts-configs/tsconfig/node\"}","symbol":"TypeScript config","correct":"{\"extends\": \"./node_modules/lint-and-ts-configs/lib/tsconfig/node.json\"}"}],"quickstart":{"code":"// Install peer dependencies\nnpm install --save-dev lint-and-ts-configs @typescript-eslint/eslint-plugin @typescript-eslint/parser typescript\n\n// .eslintrc.js\nmodule.exports = {\n  extends: [\n    './node_modules/lint-and-ts-configs/lib/eslint/base.js',\n  ]\n};\n\n// tsconfig.json\n{\n  \"extends\": \"./node_modules/lint-and-ts-configs/lib/tsconfig/node.json\",\n  \"compilerOptions\": {\n    \"rootDir\": \".\",\n    \"baseUrl\": \".\",\n    \"paths\": {\n      \"@helpers/*\": [\"src/helpers/*\"]\n    }\n  },\n  \"include\": [\"src/**/*\"]\n}","lang":"javascript","description":"Set up ESLint, TypeScript, and semantic-release configs"},"warnings":[{"fix":"Update extends path to './node_modules/lint-and-ts-configs/lib/eslint/base.js' if using v1.0.1+","message":"v1.0.1 changed import/extensions config, requiring update to ESLint extends path if coming from v1.0.0","severity":"breaking","affected_versions":"=1.0.1"},{"fix":"Use './node_modules/lint-and-ts-configs/lib/...' instead of 'lint-and-ts-configs/lib/...'","message":"All configs must be referenced with a relative path (./node_modules/...) in extends, not a package name","severity":"gotcha","affected_versions":"*"},{"fix":"Use extends: 'lint-and-ts-configs/lib/semantic/base'","message":"semantic-release config requires 'lib/' in the path: 'lint-and-ts-configs/lib/semantic/base'","severity":"gotcha","affected_versions":"*"},{"fix":"Consider migrating to a more maintained config package like @typescript-eslint/eslint-plugin defaults","message":"Package has not been updated since 2021; TypeScript and ESLint rules may be outdated","severity":"deprecated","affected_versions":">=1.0.0"}],"env_vars":null,"last_verified":"2026-05-01T00:00:00.000Z","next_check":"2026-07-30T00:00:00.000Z","problems":[{"fix":"npm install lint-and-ts-configs --save-dev","cause":"Package not installed","error":"Error [ERR_MODULE_NOT_FOUND]: Cannot find module 'lint-and-ts-configs'"},{"fix":"Use './node_modules/lint-and-ts-configs/lib/eslint/base.js'","cause":"Incorrect extends path, missing 'lib/' or relative path","error":"Failed to load config \"lint-and-ts-configs/lib/eslint/base\" to extend from."},{"fix":"npm install @typescript-eslint/parser --save-dev","cause":"Missing peer dependency","error":"Cannot find module '@typescript-eslint/parser'"},{"fix":"npm install @typescript-eslint/eslint-plugin --save-dev","cause":"Missing peer dependency","error":"Cannot find module '@typescript-eslint/eslint-plugin'"}],"ecosystem":"npm","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}