This is a playground
to test code. It runs a full Node.js
environment and already has all of npm
’s 400,000 packages pre-installed, including eslint-config-ndla
with all npm
packages installed. Try it out:
require()
any package directly from npmawait
any promise instead of using callbacks (example)This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.
Based on eslint-config-airbnb.
Overrides some settings to better suit NDLA.
# Install
npm install --save-dev eslint-config-ndla
Edit your .eslintrc
and extend the config.
Example:
// .eslintrc
{
"extends": "eslint-config-ndla"
}