Skip to content

Latest commit

 

History

History

eslint

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

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
  }
}