eslint-plugin-import

ESLint plugin with rules that help validate proper imports. [Moved to: https://github.com/import-js/eslint-plugin-import] (by benmosher)

Eslint-plugin-import Alternatives

Similar projects and alternatives to eslint-plugin-import

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better eslint-plugin-import alternative or higher similarity.

eslint-plugin-import reviews and mentions

Posts with mentions or reviews of eslint-plugin-import. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-08-26.
  • How to remove ESlint error no-unresolved from importing 'react'
    1 project | /r/codehunter | 7 Apr 2022
    no-unresolved https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/no-unresolved.md
  • Eslint with husky deleted changes
    1 project | /r/node | 12 Mar 2022
    module.exports = { extends: 'erb', rules: { // A temporary hack related to IDE not resolving correct package.json 'import/no-extraneous-dependencies': 'off', 'import/no-unresolved': 'error', // Since React 17 and typescript 4.1 you can safely disable the rule 'react/react-in-jsx-scope': 'off', // custom overrides 'global-require': 'off', 'class-methods-use-this': 'off', 'promise/always-return': 'off', 'import/order': 'warn', 'import/prefer-default-export': 'off', 'jsx-a11y/media-has-caption': 'off', 'spaced-comment': 'off', 'jsx-a11y/label-has-associated-control': [ 'error', { required: { some: ['nesting', 'id'], }, }, ], 'jsx-a11y/label-has-for': [ 'error', { required: { some: ['nesting', 'id'], }, }, ], '@typescript-eslint/ban-ts-comment': 'off', 'prettier/prettier': 'off', }, plugins: ['prettier'], parserOptions: { ecmaVersion: 2020, sourceType: 'module', project: './tsconfig.json', tsconfigRootDir: __dirname, createDefaultProgram: true, }, settings: { 'import/resolver': { // See https://github.com/benmosher/eslint-plugin-import/issues/1396#issuecomment-575727774 for line below node: {}, webpack: { config: require.resolve('./.erb/configs/webpack.config.eslint.ts'), }, typescript: {}, }, 'import/parsers': { '@typescript-eslint/parser': ['.ts', '.tsx'], }, }, };
  • ESLint config for React and React Native development
    5 projects | /r/reactnative | 26 Aug 2021
    eslint-plugin-import
  • A note from our sponsor - InfluxDB
    www.influxdata.com | 29 Apr 2024
    Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality. Learn more →

Stats

Basic eslint-plugin-import repo stats
3
3,509
9.1
over 2 years ago

Sponsored
Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com