Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

eslint-config-lagetse

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-config-lagetse

JavaScript linting rules for laget.se

  • 3.1.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Weekly downloads
 
Created
Source

eslint-config-lagetse

JavaScript linting rules for laget.se.

Extends eslint-config-airbnb, which in turn makes use of eslint-plugin-react and eslint-plugin-jsx-a11y.

To view a full list of all the rules being applied, run:

npm run lint:ls

Setup and usage

Install the config:

npm i -D eslint-config-lagetse

Add a .eslintrc to the project root:

{
  "extends": "lagetse"
}

Now go linting!

// package.json
{
  "scripts": {
    "lint:js": "eslint --ext .js --ext .jsx path/to/src/dir"
  }
}
// Using gulp
import eslint from 'gulp-eslint';

gulp.task('lint:js', () => {
  gulp.src(['path/to/**/*.js', 'path/to/**/*.jsx'])
    .pipe(eslint());
});

Type-time linting in editors

Sublime

https://medium.com/@dan_abramov/lint-like-it-s-2015-6987d44c5b48#.vrv9pvsul

FAQs

Package last updated on 24 Oct 2018

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc