🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

eslint-config-un

Package Overview
Dependencies
Maintainers
1
Versions
45
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-config-un - npm Package Versions

1345

1.0.0-alpha.1

Diff
andreww2012
published 1.0.0-alpha.1 •
andreww2012
published 1.0.0-alpha.0 •
andreww2012
published 0.10.0 •

Changelog

Source

0.10.0

  • New config: svelte via eslint-plugin-svelte, enabled automatically if svelte package is installed.
  • New config: es via eslint-plugin-es-x, <u>disabled</u> by default.
  • New config: cloudfrontFunctions for Amazon CloudFront Functions, <u>disabled</u> by default.
  • New config: solid via eslint-plugin-solid, enabled automatically if solid-js package is installed.
  • New config: nodeDependencies via eslint-plugin-node-dependencies, <u>disabled</u> by default.
  • New config: jsInline via eslint-plugin-html, enabled by default.
  • New config: html via @html-eslint/eslint-plugin, enabled by default unless angular config is enabled.
  • [BREAKING] Minimum supported ESLint version is now ^9.15.0 as support for meta.defaultOptions is necessary for some rules to work.
  • [BREAKING] Set the minimum supported Node.js version to 20.
  • ESLint plugins are now loaded on demand, i.e. only if they are actually used anywhere in the config. You can opt out of this behavior by setting loadPluginsOnDemand option to false.
  • Added an option to import config to specify eslint-plugin-import-x plugin settings.
  • [BREAKING] Passing empty array to files will now disable the config.
  • Set a new option allowRethrowing: true for @typescript-eslint/only-throw-error rule.
  • Enabled vue/no-custom-modifiers-on-v-model and vue/no-multiple-template-root rules for Vue 2 codebases.
  • Introduced a new root option mode with possible values of app and lib. It currently only controls whether you're allowed to import from devDependencies or not.
  • [BREAKING] Importing from peerDependencies is now allowed by default (rule: import/no-extraneous-dependencies). Also disabled this rule in cli config.
  • Added the ability to change plugin prefixes.
  • extraConfigs now always get a name in the form of eslint-config-un/extra-config/<provided name or "unnamed<config index>">.
  • Set a new option reportGlobalThis: true for no-shadow-restricted-names rule.

Dependencies

andreww2012
published 0.9.0 •

Changelog

Source

0.9.0

  • New config: nextJs via @next/eslint-plugin-next, enabled automatically if next package is installed.
  • New config: casePolice via eslint-plugin-case-police, <u>disabled</u> by default.
  • New config: astro via eslint-plugin-astro, enabled automatically if astro package is installed.
  • packageJson config: added requireFields option to require the specified fields to be present in the package.json file.

Dependencies

andreww2012
published 0.8.2 •

Changelog

Source

0.8.2

  • Prevented a crash when Tailwind v4 is installed by completely disabling tailwind config and eslint-plugin-tailwindcss plugin, which tries to import tailwindcss/resolveConfig which doesn't exist anymore in v4.
andreww2012
published 0.8.1 •

Changelog

Source

0.8.1

  • Fixed incorrect @eslint-react/dom rule name generation.
andreww2012
published 0.8.0 •

Changelog

Source

0.8.0

Dependencies

andreww2012
published 0.7.0 •

Changelog

Source

0.7.0

  • New config: angular via @angular-eslint/eslint-plugin and @angular-eslint/eslint-plugin-template, enabled automatically if @angular/core package is installed and is within the supported version range (from 13 to 19).
  • New config: css via @eslint/css, enabled by default unless stylelint package is installed.
  • Set allowWithDecorator: true for @typescript-eslint/no-extraneous-class rule, mostly to avoid unfixable reports in Angular projects.
  • If TypeScript config (ts) is enabled, import/no-deprecated is now disabled because the corresponding @typescript-eslint rule works better (in particular, it accounts for function overloads).
  • Override @typescript-eslint/eslint-plugin peer dependency of eslint-plugin-jest and eslint-plugin-unused-imports to avoid loading a wrong version of it.
  • "Disable autofix" rules are now generated for all the vanilla ESLint rules.
  • [BREAKING] "Disable autofix" rules are no longer generated for rules that do not provide fixes.
  • Set sonarjs/no-clear-text-protocols rule severity to warning because it might produce many false positives.
  • [BREAKING] ts config: added configTypeAware sub-config to replace filesTypeAware, ignoresTypeAware and overridesTypeAware options. Unless explicitly specified, it will use the same ignores as the parent config.
  • [BREAKING] ts config: added configNoTypeAssertion sub-config to replace noTypeAssertion option.
  • [BREAKING] Enabled @typescript-eslint/consistent-return rule in ts config and disabled the same base rule consistent-return.
  • [BREAKING] Removed autofixToRemoveUnusedImports option from js config in favor of a separate unusedImports config.
  • [BREAKING] vue config: added configA11y sub-config to replace a11y and overridesA11y options.
  • [BREAKING] vue config: added configPinia sub-config to replace pinia option.
  • [BREAKING] In pursuit of consistent naming of sub-configs, renamed the following options:
    • typescript to configTypescript in jsdoc config
    • jsonConfig to configJson in jsonc config
    • jsoncConfig to configJsonc in jsonc config
    • json5Config to configJson5 in jsonc config
    • jestExtended to configJestExtended in jest config
    • typescript to configTypescript in jest config

Dependencies

andreww2012
published 0.6.2 •

Changelog

Source

0.6.2

Dependencies

<!-- eslint-disable-next-line markdown/no-missing-label-refs -->
andreww2012
published 0.6.1 •

Changelog

Source

0.6.1

  • Specify project: '*/tsconfig*.json' by default in eslint-import-resolver-typescript resolver for import config to avoid resolution issues in repositories with multiple tsconfigs (upstream issue). Added an option to override the resolver settings.
  • Set overrides['eslint-processor-vue-blocks']['@vue/compiler-sfc'] to v3 in package.json to potentially avoid "Preprocessing error: Cannot read properties of undefined (reading 'styles')" error during Vue files linting, caused by @vue/compiler-sfc resolved to a different major version.

Dependencies