{"id":25189,"library":"edm115-lint","title":"edm115-lint","description":"edm115-lint is a personal, opinionated configuration package for ESLint and OxLint, providing pre-built rulesets optimized for TypeScript projects. Version 0.2.1 is the current stable release with active development. It differentiates by offering both ESLint Stylistic-compatible configs and OxLint configs (new and old format) in a single package, and exposes JSON files for easy import. Release cadence is low; updates are driven by the maintainer's personal needs.","status":"active","version":"0.2.1","language":"javascript","source_language":"en","source_url":"https://github.com/EDM115/edm115-lint","tags":["javascript","typescript"],"install":[{"cmd":"npm install edm115-lint","lang":"bash","label":"npm"},{"cmd":"yarn add edm115-lint","lang":"bash","label":"yarn"},{"cmd":"pnpm add edm115-lint","lang":"bash","label":"pnpm"}],"dependencies":[{"reason":"Required peer dependency for ESLint configs that use stylistic rules.","package":"@stylistic/eslint-plugin","optional":true},{"reason":"Required for parsing TypeScript files in ESLint configs.","package":"@typescript-eslint/parser","optional":true},{"reason":"Required for using OxLint configs.","package":"oxlint","optional":true}],"imports":[{"note":"The main ESLint config is a named export from the package root. Default import will fail.","wrong":"import edm115Lint from 'edm115-lint'","symbol":"eslint","correct":"import { eslint } from 'edm115-lint'"},{"note":"OxLint config is also a named export. Path-based import (e.g., 'edm115-lint/oxlint') works but is less common.","wrong":"import edm115Lint from 'edm115-lint/oxlint'","symbol":"oxlint","correct":"import { oxlint } from 'edm115-lint'"},{"note":"ESLint Stylistic config is available as a JSON file with assert { type: 'json' } or direct import (depending on bundler). No named export for this variant.","wrong":"import { eslintStylistic } from 'edm115-lint'","symbol":"Config (via JSON file)","correct":"import edm115Lint from 'edm115-lint/eslint-stylistic.json'"}],"quickstart":{"code":"// Install\ngit init\npnpm add -D edm115-lint @stylistic/eslint-plugin @typescript-eslint/parser\n\n// eslint.config.ts\nimport stylistic from '@stylistic/eslint-plugin';\nimport tsParser from '@typescript-eslint/parser';\nimport { eslint } from 'edm115-lint';\n\nexport default [\n  { ignores: ['**/dist/', '**/node_modules/'] },\n  {\n    files: ['**/*.ts'],\n    linterOptions: { reportUnusedDisableDirectives: false },\n    languageOptions: {\n      ecmaVersion: 'latest',\n      sourceType: 'module',\n      parser: tsParser,\n      parserOptions: {\n        ecmaVersion: 'latest',\n        tsconfigRootDir: import.meta.dirname,\n      },\n    },\n    plugins: { '@stylistic': stylistic },\n    rules: eslint,\n  },\n];","lang":"typescript","description":"Sets up ESLint with edm115-lint config, TypeScript parser, and Stylistic plugin."},"warnings":[{"fix":"Use `import { eslint } from 'edm115-lint'` instead of `import edm115Lint from 'edm115-lint'`.","message":"The ESLint config is exported as named export `eslint`, not a default export. Using default import will result in undefined or error.","severity":"gotcha","affected_versions":">=0.1.0"},{"fix":"Use `import` syntax or set `\"type\": \"module\"` in package.json.","message":"The package uses ESM only. CommonJS require() will fail.","severity":"gotcha","affected_versions":">=0.1.0"},{"fix":"Update imports to use `import { oxlint } from 'edm115-lint'` if previously using path-based import.","message":"In v0.2.0, the OxLint config path changed. The old config file `.oxlintrc.base.json` is still available but the recommended import is the named export `oxlint`.","severity":"breaking","affected_versions":">=0.2.0"},{"fix":"Install peer dependencies manually: `pnpm add -D @stylistic/eslint-plugin @typescript-eslint/parser oxlint` (only needed ones).","message":"Peer dependencies (@stylistic/eslint-plugin, @typescript-eslint/parser, oxlint) are not installed automatically. Missing them will cause runtime errors.","severity":"gotcha","affected_versions":">=0.1.0"}],"env_vars":null,"last_verified":"2026-05-01T00:00:00.000Z","next_check":"2026-07-30T00:00:00.000Z","problems":[{"fix":"Run `pnpm add -D edm115-lint` and ensure import uses correct syntax (`import { eslint } from 'edm115-lint'`).","cause":"Package not installed or incorrect import path.","error":"Cannot find module 'edm115-lint'"},{"fix":"Check the export: use `import { eslint } from 'edm115-lint'` or `import { oxlint } from 'edm115-lint'`.","cause":"Attempting to import a named export that doesn't exist, e.g., `import default from 'edm115-lint'`.","error":"ERR_MODULE_NOT_FOUND"},{"fix":"Run `pnpm add -D @stylistic/eslint-plugin`.","cause":"Peer dependency not installed.","error":"Cannot find module '@stylistic/eslint-plugin'"}],"ecosystem":"npm","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}