eslint-config-react-strong
eslint-plugin-import
eslint-config-react-strong | eslint-plugin-import | |
---|---|---|
4 | 3 | |
4 | 3,509 | |
- | - | |
3.9 | 9.1 | |
10 months ago | over 2 years ago | |
JavaScript | JavaScript | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
eslint-config-react-strong
-
React Native Template Strong
Additionally there are Prettier and TSConfig rules which will make it hard to create messy code.
ESLint with strict set of rules and plugins provided by eslint-config-strong.
-
ESLint Config for React and React Native Development
There are also TSConfig and Prettier config.
- ESLint config for React and React Native development
eslint-plugin-import
-
How to remove ESlint error no-unresolved from importing 'react'
no-unresolved https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/no-unresolved.md
-
Eslint with husky deleted changes
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
eslint-plugin-import
What are some alternatives?
redux-toolkit - The official, opinionated, batteries-included toolset for efficient Redux development
typescript-eslint - :sparkles: Monorepo for all the tooling which enables ESLint to support TypeScript
eslint-plugin-react - React-specific linting rules for ESLint
You-Dont-Need-Lodash-Underscore - List of JavaScript methods which you can use natively + ESLint Plugin
lint-staged - 🚫💩 — Run linters on git staged files
Detox - Gray box end-to-end testing and automation framework for mobile apps
eslint-plugin-svelte3 - An ESLint plugin for Svelte v3 components.
react-native-config - Bring some 12 factor love to your mobile apps!
eslint-plugin-import - ESLint plugin with rules that help validate proper imports.
react-native-template-strong - Quick, opinionated, documented and strong beginning for your next project. Template made with react-native-navigation, TypeScript and Redux.
React - The library for web and native user interfaces.