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

lintconfig

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lintconfig

eslint, prettier & stylelint configurations

  • 1.0.2
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

tiendeo-lint

Installation

  1. Install @tiendeo/lintpackage:
npm i -D @tiendeo/lint
  1. Add these lines to package.json:
"eslintConfig": {
   "extends": ["./node_modules/lintconfig/.eslintrc.js"]
 },
 "stylelint": {
   "extends": "./node_modules/lintconfig/stylelint.config.js"
 },

Usage

  1. Add these scripts to the package.json:
"lint": "./node_modules/.bin/eslint ./src",
"stylelint": "./node_modules/.bin/stylelint ./src",
"format": "npm run prettier -- --write --config ./node_modules/lintconfig/.prettierrc.js",
"prettier": "./node_modules/.bin/prettier \"**/*.{js,jsx,css,json}\"",
Lint JS files
$ npm run eslint [options]
Fix JS files
$ npm run eslint -- --fix [options]
Format JS files
$ npm run format [options]
Lint Styled-Components
$ npm run stylelint [options]
Format Styled-Components
$ npm run stylelint -- --fix [options]

FAQs

Package last updated on 01 Oct 2019

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