
Security News
Socket Integrates With Bun 1.3’s Security Scanner API
Socket now integrates with Bun 1.3’s Security Scanner API to block risky packages at install time and enforce your organization’s policies in local dev and CI.
@lessondesk/eslint-config
Advanced tools
ESLint config for Lesson Desk
Shareable configs are designed to work with the extends
feature of eslint
files.
You can learn more about
shareable configs on the
official ESLint website.
This package has several peer dependencies. Run npm info "@lessondesk/eslint-config@latest" peerDependencies
to list them all.
Install all the dependencies:
npm install --save-dev @lessondesk/eslint-config eslint babel-eslint prettier eslint-config-prettier eslint-plugin-promise eslint-plugin-import
# or
yarn add --dev @lessondesk/eslint-config eslint babel-eslint prettier eslint-config-prettier eslint-plugin-promise eslint-plugin-import
Then, add this to your .eslintrc
file:
{
"extends": "@lessondesk",
"env": {
"browser": true,
}
}
Note: The eslint-config-
prefix has been omitted since it is automatically assumed by ESLint.
You can override settings from the shareable config by adding them directly into your
.eslintrc
file.
Follow instructions for prettier-eslint-cli installation and add script:
"format": "prettier-eslint --write --eslint-ignore"
[](https://github.com/lessondesk/eslint-config)
Includes the default configuration as well as React specific environment specification and rules via:
Setup:
$ npm install --save-dev @lessondesk/eslint-config eslint babel-eslint prettier eslint-config-prettier eslint-plugin-promise eslint-plugin-import eslint-plugin-react eslint-plugin-jsx-a11y eslint-plugin-react-hooks
# or
yarn add --dev @lessondesk/eslint-config eslint babel-eslint prettier eslint-config-prettier eslint-plugin-promise eslint-plugin-import eslint-plugin-react eslint-plugin-jsx-a11y eslint-plugin-react-hooks
In your .eslintrc
:
{
"extends": "@lessondesk/eslint-config/react"
}
git checkout -b my-new-feature
git commit -am 'Add some feature'
git push origin my-new-feature
MIT
FAQs
ESLint config for Lesson Desk
The npm package @lessondesk/eslint-config receives a total of 2 weekly downloads. As such, @lessondesk/eslint-config popularity was classified as not popular.
We found that @lessondesk/eslint-config demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 5 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
Socket now integrates with Bun 1.3’s Security Scanner API to block risky packages at install time and enforce your organization’s policies in local dev and CI.
Research
The Socket Threat Research Team is tracking weekly intrusions into the npm registry that follow a repeatable adversarial playbook used by North Korean state-sponsored actors.
Security News
A data handling bug in OSV.dev caused disputed CVEs to disappear from vulnerability feeds until a recent fix restored over 500 advisories.