Security News
cURL Project and Go Security Teams Reject CVSS as Broken
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
eslint-config-kswedberg
Advanced tools
Run the following from the project's root:
npm install eslint-config-kswedberg --save-dev
or:
yarn add eslint-config-kswedberg --dev
Then, add the config to the project's .eslintrc.js
file.
For linting with es6 features enabled:
module.exports = {
extends: 'kswedberg'
};
If you want react (as well as es6) features enabled:
module.exports = {
extends: 'kswedberg/react'
};
Note that you'll need to have eslint-plugin-react
installed.
For Vue features, you have a few options for the extends
value:
kswedberg/vue
kswedberg/vue3
kswedberg/nuxt3
For all Vue or Nuxt versions, you'll need the eslint-plugin-vue
plugin.
If you don't want es6 or react features:
module.exports = {
'extends': 'kswedberg/es5'
};
* Note: eslint supports a few different formats for the ...rc
file, including JavaScript, JSON, and YAML. You may use any format that eslint supports.
I always forget how to do this, so I'm writing it down as a reminder to me. See more at Configuring ESLint
/* eslint-disable */
/* eslint-enable */
/* eslint-disable no-alert, no-console */
// eslint-disable-line
// eslint-disable-line no-alert, quotes, semi
// eslint-disable-next-line
// eslint-disable-next-line no-alert, quotes, semi
FAQs
A shareable eslint config
The npm package eslint-config-kswedberg receives a total of 26 weekly downloads. As such, eslint-config-kswedberg popularity was classified as not popular.
We found that eslint-config-kswedberg 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
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
Security News
Biden's executive order pushes for AI-driven cybersecurity, software supply chain transparency, and stronger protections for federal and open source systems.