Socket
Book a DemoInstallSign in
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
npmnpm
Version published
Weekly downloads
0
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

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.