1.0.0 • Published 2 years ago

@awesome-tools/eslint-config v1.0.0

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

@awesome-tools/eslint-config

Eslint config for my personal projects. Feel free to use this package

CI License: ISC Commitizen friendly semantic-release: angular 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 @awesome-tools/eslint-config

Usage

Then add the extends to your .eslintrc.js:

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

You can import prettier config as well

const base = require('eslint-config-storybook/prettier.config')

module.exports = {
  ...base,
  arrowParens: 'avoid',
  overrides: [
      // your overrides
  ]
}

Things to know

  • All plugins needed for rules used by these configs are dependencies of this module so you don't have to install anything on your own.
  • The default config actually is composed of several configurations, and you can use those individually. You can use each of these configs yourself if you want to leave my own personal style out of it.

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.

LICENSE

ISC