1.1.2 • Published 2 years ago

@bootcamp-project/eslint-config v1.1.2

Weekly downloads
-
License
MIT
Repository
gitlab
Last release
2 years ago

Ready-to-use ESLint Configuration

with best practice settings by default

🦄 About 🦄

ESLint is a static code analysis tool that we use to analyze our Node.js / JavaScript, TypeScript and Svelte repositories. With this package we offer all our best practice settings.

Project Links

Minimum Viable Product: What is what we want?

  • What are the goals?
    • Offer a single package with all the necessary dependencies and the safest possible linting settings.
  • Sense (Why do these goals exist?)
    • To provide easy management of the linting settings for various repositories
  • Purpose (What should be done with it?)
    • There should be a central code base for linting settings

🚀 Getting Started 🚀

💪 Installation 💪

yarn add --dev eslint @bootcamp-project/eslint-config

🤩 Usage 🤩

See TBCP ESLint settings

// .eslintrc.js
'use strict';

const ESLintConfig = require('@bootcamp-project/eslint-config').ESLintConfig
module.exports = ESLintConfig

...with security-first

// .eslintrc.js
'use strict';

const ESLintSecurity = require('@bootcamp-project/eslint-config').ESLintSecurity
module.exports = ESLintSecurity

and, if you want more...

// .eslintrc.js
'use strict';

const ESLintSecurity = require('@bootcamp-project/eslint-config').ESLintSecurity
module.exports = {
  ...ESLintSecurity,  // Takes the TBCP base settings
  // ...
  // Place to specify ESLint settings. Can be used to overwrite rules specified from the extended configs
  // ...
  rules: {
    // e.g. "no-secrets/no-secrets": "error",
		'no-secrets/no-secrets': 'error',
		'pii/no-email': 'error',
		'pii/no-dob': 'warn',
		'pii/no-ip': 'error',
		'pii/no-phone-number': 'error'
  }
}

⭐️ Features ⭐️

😎 Built With 😎

🏆 Acknowledgements 🏆

Thanks for these awesome resources that were used during the development of the Bootcamp: ESLint Configuration:

📑 Changelog 📑

See CHANGELOG for more information.

📋 Roadmap 📋

See the open issues for a list of proposed features (and known issues).

🤝 Contribute 🤝

Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.

Please read the contribution guidelines first.

  1. Give us a star, it's really important! 😅
  2. Fork the Project: (git clone https://gitlab.com/the-bootcamp-project/configurations/eslint.git)
  3. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  4. Commit your Changes (git commit -m 'Add some AmazingFeature')
  5. Push to the Branch (git push origin feature/AmazingFeature)
  6. Open a Pull Request

📜 License 📜

See LICENSE for more information.

💌 Contact 💌

Bootcamp contributors - contributors @ bootcamp-project .com

1.1.2

2 years ago

1.1.1

2 years ago

1.1.0

2 years ago

1.0.8

2 years ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago

0.14.0

2 years ago

0.13.5

2 years ago

0.13.4

2 years ago

0.13.3

2 years ago

0.13.2

2 years ago

0.13.1

2 years ago

0.13.0

2 years ago

0.12.2

2 years ago

0.12.1

2 years ago

0.12.0

2 years ago

0.11.0

2 years ago

0.10.0

2 years ago

0.9.9

2 years ago

0.9.2

2 years ago

0.9.1

2 years ago

0.9.0

2 years ago

0.3.1

2 years ago

0.3.0

2 years ago

0.2.0

2 years ago

0.1.1

2 years ago

0.1.0

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago