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.
@electron-toolkit/eslint-config-prettier
Advanced tools
ESLint config with Prettier support for Electron projects.
ESLint config with Prettier support for Electron projects.
Requires eslint >= 8.0.0
and prettier >= 3.0.0
.
This config is specifically designed to be used by @quick-start/create-electron
setups.
The default config is based on the recommended configuration of eslint-plugin-prettier, which also depends on eslint-config-prettier. Please refer to their corresponding documentations for more implementation details.
npm add -D @electron-toolkit/eslint-config-prettier
Add @electron-toolkit/eslint-config-prettier
to the extends
array in your .eslintrc.cjs
file. Make sure to put it last, so it gets the chance to override other configs.
module.exports = {
extends: [
// ... other configs
'@electron-toolkit/eslint-config-prettier'
]
}
This configuration is the most straightward way to use ESLint with Prettier.
It disables all rules that are unnecessary or might conflict with Prettier. It also enables the eslint-plugin-prettier
plugin, which runs Prettier as an ESLint rule and reports differences as individual ESLint issues.
By default all formatting issues are reported as warnings
, and will be automatically fixed during eslint --fix
.
FAQs
ESLint config with Prettier support for Electron projects.
The npm package @electron-toolkit/eslint-config-prettier receives a total of 13,413 weekly downloads. As such, @electron-toolkit/eslint-config-prettier popularity was classified as popular.
We found that @electron-toolkit/eslint-config-prettier demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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.