Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
eslint-config-protect-me-from-my-stupidity
Advanced tools
An opinionated ESLint configuration that shall protect you from your stupidity when writing JavaScript.
An opinionated configuration for ESLint that shall protect you from your stupidity when writing JavaScript.
Add this to your ESLint configuration.
{
"extends" : "protect-me-from-my-stupidity"
}
However, if you don't care for code style rules, you can add this to your ESLint configuration:
{
"extends" : [
"protect-me-from-my-stupidity",
"protect-me-from-my-stupidity/but-let-my-code-look-stupid"
]
}
Finally, when you are writing tests, you can loosen the rules by adding this to your ESLint configuration:
{
"extends" : [
"protect-me-from-my-stupidity",
"protect-me-from-my-stupidity/but-let-me-write-stupid-tests"
]
}
This project configures ESLint to parse JavaScript with the following in mind:
Note: This project makes no assumption about your JavaScript environment, you must configure that yourself. See https://eslint.org/docs/user-guide/configuring#specifying-environments.
This project draws the line at JavaScript. Therefore it will not take a stance on frameworks like React or transpilers like TypeScript.
This project currently includes configuration for the following plugins:
Note: You will have to install the above plugins yourself as they are peer dependencies.
This project follows a semantic versioning policy that aims not to surprise you:
Note: It is advised that you only take patch versions using tilde ranges.
This project is available through the Node Package Manager (NPM), so you can install it like so:
npm install eslint-config-protect-me-from-my-stupidity
Finally, if you get offended by my use of the word stupid. It is just a joke.
2.1.0 - 2018-04-16
indent
rule to enforce indentation for case
clauses inside switch
statements.FAQs
An opinionated ESLint configuration that shall protect you from your stupidity when writing JavaScript.
The npm package eslint-config-protect-me-from-my-stupidity receives a total of 52 weekly downloads. As such, eslint-config-protect-me-from-my-stupidity popularity was classified as not popular.
We found that eslint-config-protect-me-from-my-stupidity demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.