5.0.0 • Published 3 years ago

@jungsoft/eslint-config v5.0.0

Weekly downloads
106
License
MIT
Repository
github
Last release
3 years ago

Eslint Config Jungsoft

Stars Forks Contributors NPM

This package provides extensible shared config of JavaScript, React and React Native rules

:pushpin: Table of Contents

:construction_worker: Installation

With Yarn

npx install-peerdeps --dev @jungsoft/eslint-config --yarn

With NPM

npx install-peerdeps --dev @jungsoft/eslint-config

And remove the peer-dependencies according to the shareable config that you're using, for instance, the typescript config won't need the eslint-import-resolver-typescript dependency

:pushpin: Usage

This package includes the following configurations:

Example:

Shareable config for JavaScript projects

{
  "extends": [
    "@jungsoft"
  ]
}

Shareable config for TypeScript projects

{
  "extends": [
    "@jungsoft",
    "@jungsoft/eslint-config/typescript"
  ]
}

Shareable config for React projects

{
  "extends": [
    "@jungsoft/eslint-config/react"
  ]
}

Shareable config for React Native projects

{
  "extends": [
    "@jungsoft/eslint-config/react-native"
  ]
}

And you can also override/add rules according to your needs

{
  extends: [
    "@jungsoft",
  ],
  plugins: ['react', 'jsx-a11y'],
  rules: {
    "react/prop-types": 1,
    "jsx-a11y/anchor-is-valid": ["warn", {
      components: ["Link"],
      specialLink: ["to"],
    }],
  }
}

:closed_book: License

This project is under the MIT license.

Made with love by Laura Beatris and contributors at Jungsoft 💜🚀

5.0.0

3 years ago

4.0.1

4 years ago

4.0.0

4 years ago

3.0.9

4 years ago

3.0.8

4 years ago

3.0.7

4 years ago

3.0.6

4 years ago

3.0.4

4 years ago

3.0.5

4 years ago

3.0.3

4 years ago

3.0.2

4 years ago

3.0.1

4 years ago

3.0.0

4 years ago

2.0.3

4 years ago

2.0.5

4 years ago

2.0.4

4 years ago

2.0.7

4 years ago

2.0.6

4 years ago

2.0.8

4 years ago

2.0.2

4 years ago

2.0.1

4 years ago

2.0.0

4 years ago

1.0.9

4 years ago

1.0.8

4 years ago

1.0.7

4 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago