Wondering what’s next for npm?Check out our public roadmap! »

    eslint-config-fe

    1.3.2 • Public • Published

    eslint-config-fe

    npm package

    Note: ESLint config for Front End.

    NPM version NPM Downloads

    Installation

    npm install --save-dev eslint @babel/core @babel/eslint-parser @babel/eslint-plugin eslint-config-fe

    Usage

    For base JS

    All rules .eslintrc

    {
      extends: ["fe"]
    }

    learn more

    Less rules .eslintrc

    {
      extends: ["fe/less"]
    }

    learn more

    For React

    npm install --save-dev @babel/preset-react eslint-plugin-react eslint-plugin-react-hooks

    babel.config.js

    module.exports = {
      presets: ['@babel/preset-react']
    };

    .eslintrc

    {
      extends: [
        "fe",
        "fe/react"
      ]
    }

    learn more

    Install

    npm i eslint-config-fe

    DownloadsWeekly Downloads

    3

    Version

    1.3.2

    License

    MIT

    Unpacked Size

    48.9 kB

    Total Files

    6

    Last publish

    Collaborators

    • avatar