Product
Introducing License Enforcement in Socket
Ensure open-source compliance with Socket’s License Enforcement Beta. Set up your License Policy and secure your software!
@skyscanner/eslint-config-skyscanner
Advanced tools
This package includes the shareable ESLint configuration used by Skyscanner.
npm install --save-dev @skyscanner/eslint-config-skyscanner
Add "extends": "@skyscanner/eslint-config-skyscanner"
to your .eslintrc
.
@skyscanner/eslint-config-skyscanner
will try to detect automatically the version of React installed.
If your project doesn't use it or it is not installed in the same package.json
as @skyscanner/eslint-config-skyscanner
, it must be manually set in .eslintrc
:
"settings": {
"react": {
"version": "16.4"
}
}
15.0.0
This update is intended to be as low friction as possible, with incoming rules that cause more toil than gain disabled.
However, it does bring in several new, very valuable, rules, so it is expected to need work to fix these lint errors when making this upgrade. If you do not agree with any of the incoming rules please reach out to talk about solving it in a centralised way before making local overrides.
All new rules will point to documentation about that rule, with examples of fixes, if they trigger in your codebase.
If you use @skyscanner/stylelint-config-skyscanner
please update to version 9, to match this change, as it shares transitive dependencies: https://github.com/Skyscanner/stylelint-config-skyscanner/blob/main/docs/eslint-as-dependency.md
ESLint release notes:
AirBnB Config Release notes:
The following rules have been disabled or downgraded:
See inline comments for each as to why.
FAQs
Skyscanner's ESLint config.
The npm package @skyscanner/eslint-config-skyscanner receives a total of 103 weekly downloads. As such, @skyscanner/eslint-config-skyscanner popularity was classified as not popular.
We found that @skyscanner/eslint-config-skyscanner demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 10 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.
Product
Ensure open-source compliance with Socket’s License Enforcement Beta. Set up your License Policy and secure your software!
Product
We're launching a new set of license analysis and compliance features for analyzing, managing, and complying with licenses across a range of supported languages and ecosystems.
Product
We're excited to introduce Socket Optimize, a powerful CLI command to secure open source dependencies with tested, optimized package overrides.