Skip to content

davisthedev/eslint-config

 
 

Repository files navigation

smartLINK

All-In-One Digital Engagement Platform


Smartlink ESLint Config

GitHub Super-Linter GitHub Actions npm (scoped with tag) npm

Getting Started

Installation

  1. Add this package to your devDependencies
$ npm i -D @smartlinkdev/eslint-config
# or
$ yarn add -D @smartlinkdev/eslint-config
  1. Install eslint if not already present locally or globally
$ npm i -D eslint
# or
$ yarn add -D eslint
  1. Create a .eslintrc.js file
$ touch .eslintrc.js
  1. Extend using the plugin
{
  extends: [
    '@smartlinkdev/eslint-config'
  ]
}

Full example

A full example .eslintrc.js:

module.exports = {
  root: true,
  extends: [
    '@smartlinkdev/eslint-config'
  ]
}

Vue

If you're using Vue, follow Getting Started section by replacing @smartlinkdev/eslint-config by @smartlinkdev/eslint-config-vue.

And in your .eslintrc.js all you need is :

{
  extends: [
    '@smartlinkdev/eslint-config-vue'
  ]
}

License

MIT license - Smartlink Ventures, Inc.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%