
Security News
PEP 810 Proposes Explicit Lazy Imports for Python 3.15
An opt-in lazy import keyword aims to speed up Python startups, especially CLIs, without the ecosystem-wide risks that sank PEP 690.
@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 0 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
An opt-in lazy import keyword aims to speed up Python startups, especially CLIs, without the ecosystem-wide risks that sank PEP 690.
Security News
Socket CEO Feross Aboukhadijeh discusses the recent npm supply chain attacks on PodRocket, covering novel attack vectors and how developers can protect themselves.
Security News
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.