UNPKG

@voitanos/eslint-preset-spfx-react

Version:

Preset to swap out TSLint in favor of ESLint in SharePoint Framework (non-React) projects.

7 lines (6 loc) 210 B
// disable tslint build.tslintCmd.enabled = false; // add eslint const eslintPrefix = require('@voitanos/eslint-preset-spfx-react'); eslintPrefix.updateGulpfile(build); build.initialize(require('gulp'));