This package includes the shareable ESLint configuration used by Skyscanner.
npm install --save-dev @saoviettest/nulla-adipisci-vel-porro
Add "extends": "@saoviettest/nulla-adipisci-vel-porro"
to your .eslintrc
.
@saoviettest/nulla-adipisci-vel-porro
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 @saoviettest/nulla-adipisci-vel-porro
, it must be manually set in .eslintrc
:
"settings": {
"react": {
"version": "16.4"
}
}