1.0.0-alpha.17 • Published 3 years ago

eslint-plugin-sfcx v1.0.0-alpha.17

Weekly downloads
-
License
ISC
Repository
-
Last release
3 years ago

eslint-plugin-sfcx

eslint recommend configs

Usage

Installation

npm install eslint-plugin-sfcx --save-dev

.eslintrc.js

module.exports = {
  plugins: ['sfcx'],
  extends: [
    // recommend javascript eslint config
    'plugin:sfcx/recommend',

    // 'plugin:sfcx/react',  // Use this if you are using react
    // 'plugin:sfcx/vue',    // Use this if you are using vue2.x
    // 'plugin:sfcx/vue-ts', // Use this if you are using vue2.x width typescript
    // 'plugin:sfcx/globals-mp-wx'  // globals defined for wx-miniprogram
  ]
}