1.0.5 • Published 2 years ago

eslint-shared-config-tony v1.0.5

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

This is a unified ESLint config created based on recommendations and represents a build used by large companies

Installation

View peerDependencies

npm info "eslint-shared-config-tony@latest" peerDependencies

Install the package

npm install --save-dev eslint-shared-config-tony

Install dependencies

npx install-peerdeps --dev eslint-shared-config-tony

Connect ESLint settings to the file .eslintrc.js If it's not there, create it in the root of the project If it's named .eslintrc.json, rename it to .eslintrc.js

const sharedConfig = require("eslint-shared-config-tony");

module.exports = {
    ...sharedConfig,
}

If you want to overwrite something

    module.exports = {
    ...sharedConfig,
    extends: [
        ...sharedConfig.extends,
        "pluginName",
    ],
}

The package is made by React / Next.js Front end developers Miasoedov Tony for his pet projects, so as not to spend time on setup, but just to add.

It also allows maintaining a single up-to-date eslint in all projects. You can update the base config - and thus update it in all projects

Package author: https://www.linkedin.com/in/tony-myasoedov-b145801b3/

Links

You can find a large number of builds that are constantly updated here: https://github.com/dustinspecker/awesome-eslint

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago