Skip to content

Latest commit

 

History

History
33 lines (24 loc) · 449 Bytes

README.md

File metadata and controls

33 lines (24 loc) · 449 Bytes

ESLint Plugin

Find problems in your code on build step

Install

npm install -D @rambler-tech/razzle-eslint eslint

or

yarn add -D @rambler-tech/razzle-eslint eslint

Usage

Add the plugin to razzle.config.js

const ESLintPlugin = require('@rambler-tech/razzle-eslint')

module.exports = {
  plugins: [
    ESLintPlugin(),
  ],
  modifyWebpackConfig({webpackConfig}) {
    // ...
    return webpackConfig
  }
}