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

@cknow/eslint-config

Package Overview
Dependencies
Maintainers
1
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cknow/eslint-config

ESLint shareable config

  • 5.0.0
  • unpublished
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

ESLint Config

ESLint shareable config

NPM Version Downloads MIT License

Build Status Build status Coverage Status

Code Climate Test Coverage Issue Count

Dependencies Status devDependencies Status peerDependencies Status

Semantic Release Average time to resolve an issue Percentage of issues still open Gitter

Install

npm install --save-dev @cknow/eslint-config

Usage

ESLint Configuration File Formats

Add some ESLint config to your .eslintrc.js:

module.exports = {
  extends: '@cknow/eslint-config'
}

ESNext

module.exports = {
  extends: '@cknow/eslint-config/esnext'
}

Browser

module.exports = {
  extends: '@cknow/eslint-config/browser'
}

Usage direct on command line

eslint --config ./node_modules/@cknow/eslint-config/index.js

Note: It is not necessary to create the .eslintrc.js file.

Plugins

The plugins do not use the default settings.

To this extend @cknow/eslint-config or @cknow/eslint-config/browser first.

module.exports = {
  extends: ['@cknow/eslint-config', '@cknow/eslint-config/plugins/PLUGIN_NAME']
}
Angular

Install

npm install --save-dev eslint-plugin-angular

Usage

module.exports = {
  extends: '@cknow/eslint-config/plugins/angular'
}
AVA

Install

npm install --save-dev eslint-plugin-ava

Usage

module.exports = {
  extends: '@cknow/eslint-config/plugins/ava'
}
Jasmine

Install

npm install --save-dev eslint-plugin-jasmine

Usage

module.exports = {
  extends: '@cknow/eslint-config/plugins/jasmine'
}
Jest

Install

npm install --save-dev eslint-plugin-jest

Usage

module.exports = {
  extends: '@cknow/eslint-config/plugins/Jest'
}
Jquery

Install

npm install --save-dev eslint-plugin-jquery

Usage

module.exports = {
  extends: '@cknow/eslint-config/plugins/jquery'
}
Mocha

Install

npm install --save-dev eslint-plugin-mocha

Usage

module.exports = {
  extends: '@cknow/eslint-config/plugins/mocha'
}
Node

Install

npm install --save-dev eslint-plugin-node

Usage

module.exports = {
  extends: '@cknow/eslint-config/plugins/node'
}
Promise

Install

npm install --save-dev eslint-plugin-promise

Usage

module.exports = {
  extends: '@cknow/eslint-config/plugins/promise'
}
Protractor

Install

npm install --save-dev eslint-plugin-protractor

Usage

module.exports = {
  extends: '@cknow/eslint-config/plugins/protractor'
}
Vue

Install

npm install --save-dev eslint-plugin-vue

Usage

module.exports = {
  extends: '@cknow/eslint-config/plugins/vue'
}

Keywords

FAQs

Package last updated on 07 Aug 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