
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
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 158 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
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.