8.0.0 • Published 2 months ago

@arquivei/eslint-config v8.0.0

Weekly downloads
153
License
MIT
Repository
github
Last release
2 months ago

Build Status version downloads MIT License All Contributors PRs Welcome Code of Conduct

Table of Contents

Installation

This module is distributed via npm which is bundled with node and should be installed as one of your project's devDependencies:

npm install --save-dev @arquivei/eslint-config

This library has a required peerDependencies listing for eslint

Note: If you are working with a registry other than the standard npm, it becomes necessary to pass the argument: --registry=https://registry.npmjs.org/ at installation.

Usage

Then add the extends to your .eslintrc.js:

module.exports = {
  extends: '@arquivei/eslint-config',
  rules: {
    // your overrides
  },
}

Other configs

This config also exposes a few other configs that I use often and pull in as needed.

You can use them standalone:

module.exports = {
  extends: '@arquivei/eslint-config/<config-name>',
}

Or in combination with the base config (recommended)

module.exports = {
  extends: ['@arquivei/eslint-config', '@arquivei/eslint-config/<config-name>'],
}

Example of config

module.exports = {
  extends: [
    '@arquivei/eslint-config',
    '@arquivei/eslint-config/jest',
    '@arquivei/eslint-config/react',
  ],
  rules: {
    /* custom rules */
  },
}

If you're using Next.js

Example of config

module.exports = {
  extends: [
    '@arquivei/eslint-config',
    '@arquivei/eslint-config/jest',
    '@arquivei/eslint-config/react',
    '@arquivei/eslint-config/next-js',
  ],
  rules: {
    /* custom rules */
  },
}

And add the command to section scripts on the package.json of your project

"lint:next": "next lint"

Issues

Looking to contribute? Look for the Good First Issue label.

🐛 Bugs

Please file an issue for bugs, missing documentation, or unexpected behavior.

See Bugs

💡 Feature Requests

Please file an issue to suggest new features. Vote on feature requests by adding a 👍. This helps maintainers prioritize what to work on.

See Feature Requests

Contributors ✨

Thanks goes to these people (emoji key):

This project follows the all-contributors specification. Contributions of any kind welcome!

LICENSE

MIT

8.0.0

2 months ago

7.4.0

10 months ago

7.3.0

2 years ago

7.1.1

2 years ago

7.2.1

2 years ago

7.2.0

2 years ago

7.1.0

2 years ago

6.0.3

2 years ago

6.0.2

2 years ago

7.0.0

2 years ago

7.0.1

2 years ago

5.1.3

2 years ago

5.1.2

2 years ago

5.1.1

2 years ago

5.1.0

2 years ago

5.0.20

2 years ago

6.0.1

2 years ago

6.0.0

2 years ago

5.0.19

2 years ago

5.0.17

2 years ago

5.0.18

2 years ago

4.1.8

2 years ago

4.1.7

2 years ago

4.1.9

2 years ago

4.2.3

2 years ago

4.2.2

2 years ago

4.2.5

2 years ago

4.2.4

2 years ago

4.2.1

2 years ago

4.2.0

2 years ago

5.0.0

2 years ago

5.0.12

2 years ago

5.0.13

2 years ago

5.0.14

2 years ago

5.0.15

2 years ago

5.0.16

2 years ago

4.2.6

2 years ago

4.1.10

2 years ago

4.1.11

2 years ago

4.1.16

2 years ago

4.1.17

2 years ago

4.1.18

2 years ago

4.1.12

2 years ago

4.1.13

2 years ago

4.1.14

2 years ago

4.1.15

2 years ago

4.1.4

2 years ago

4.1.3

2 years ago

4.1.6

2 years ago

4.1.5

2 years ago

4.1.2

2 years ago

4.1.1

2 years ago

4.1.0

2 years ago

4.0.0

3 years ago

3.2.0

3 years ago

3.1.0

3 years ago

3.0.2

3 years ago

3.0.1

3 years ago

3.0.0

3 years ago

2.0.0

3 years ago

1.1.2-alpha.0

3 years ago

1.1.2-alpha.1

3 years ago

1.0.6

3 years ago

1.1.1

3 years ago

1.1.2

3 years ago

1.1.0

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.2

3 years ago

1.0.3

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago

0.0.1

3 years ago