Registry / devops / fe-code-lint

fe-code-lint

JSON →
library0.0.3jsnpmunverified

Front-end code lint configuration presets for ESLint and Stylelint. Current version 0.0.3, released sporadically. Provides shared ESLint and Stylelint configs for JavaScript and Vue projects. Lightweight wrapper that exposes internal config files directly for merging. Alternatives like eslint-config-airbnb offer more rules but require additional plugins.

devops
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.

Config is accessed via deep path, not main export.

require('fe-code-lint/src/eslint/.eslintrc')

Config is a CommonJS module, not ESM.

require('fe-code-lint/src/stylelint/.stylelintrc')

Shows how to extend the shared ESLint config with custom parser and plugins.

// .eslintrc.js const config = require('fe-code-lint/src/eslint/.eslintrc'); module.exports = { ...config, root: true, parser: 'babel-eslint', plugins: ['html'], rules: { ...config.rules, 'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off' } };
Debug
Known footguns
gotchaConfig file path uses underscores in package name but npm package is fe-code-lint.
gotchaPackage version has no semver range; patch-level changes may break config structure.
deprecatedThe package relies on babel-eslint which is deprecated; recommend @babel/eslint-parser.
Upgrade
Version history

Breaking-change detection hasn't run for this library yet.

Audit
Security & dependencies

CVE tracking and dependency tree are planned for a later release.

Agent activity
8 hits · last 30 days
gptbot
3
ahrefsbot
2
Resources