Skip to content

lundegaard/eslint-config-lundegaard

Repository files navigation

by Lundegaard

🖍️ 🛡 🚀

Have a good start with your next JavaScript project.

The package provides `.eslintrc.*` as an extensible shared config.

Github MIT License Downloads Version

The package provides .eslintrc.* as an extensible shared configuration.

Usage

There are two ESLint configurations for you to use.

eslint-config-lundegaard

The default export contains all of our ESLint rules, including ECMAScript 6+ and React.

Installation

yarn add -D @babel/eslint-parser\@^7.15.0 @babel/eslint-plugin\@^7.14.5 eslint\@^8.7.0 eslint-plugin-babel\@^5.3.0 eslint-plugin-import\@^2.25.4 eslint-plugin-jest\@^26.0.0 eslint-plugin-jest-formatting\@^3.1.0 eslint-plugin-react\@^7.28.0 eslint-plugin-react-hooks\@^4.3.0

or

npm install @babel/eslint-parser\@^7.15.0 @babel/eslint-plugin\@^7.14.5 eslint\@^8.7.0 eslint-plugin-babel\@^5.3.0 eslint-plugin-import\@^2.25.4 eslint-plugin-jest\@^26.0.0 eslint-plugin-jest-formatting\@^3.1.0 eslint-plugin-react\@^7.28.0 eslint-plugin-react-hooks\@^4.3.0

And add "extends": "lundegaard" to your .eslintrc.

eslint-config-lundegaard/base

The eslint-config-lundegaard excluding rules for React.

Add "extends": "eslint-config-lundegaard/base" to your .eslintrc.*.

Example

module.exports = {
	extends: ['eslint-config-lundegaard'],
};

or

module.exports = {
	extends: ['eslint-config-lundegaard/base'],
};

Related projects

  • react-union – Integrate React apps into various CMSs seamlessly.
  • validarium – Platform-agnostic validation library for JavaScript.
  • lundium – Beautiful React component library.
  • @redux-tools – Maintaining large Redux applications with ease.

Contributing

We are open to all ideas and suggestions, feel free to open an issue or a pull request!

See the contribution guide for guidelines.

License

All packages are distributed under the MIT license. See the license here.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published