Skip to content

AutoSoftOSS/eslint-config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

@autosoft/eslint-config

npm typescript

A base for projects that use ESLint.

If I should maintain this repo, please ⭐️ GitHub stars

DM me on Twitter if you have questions or suggestions. Twitter Follow


Installation

yarn add --dev @autosoft/eslint-config
npm install --save-dev @autosoft/eslint-config
pnpm add --save-dev @autosoft/eslint-config

Usage

In your package.json file:

{
  "eslintConfig": {
    "extends": "@autosoft/eslint-config"
  }
}

Running ESLint

Now to run ESLint, run yarn eslint source or npm run eslint source.

If you have autorepo installed, yarn auto lint source or npm run auto lint source will also run ESLint.

Updates

As this package updates, bug fixes are considered patch updates as usual.

Rule changes are considered minor updates. Rule changes can cause linting errors in your code, If you want to avoid rule changes, you can set your package to use a specific minor version of this package with the ~ operator:

{
  "devDependencies": {
    "@autosoft/eslint-config": "~1.1.0"
  }
}

Dependenciesdependencies


Dev Dependencies


License license

MIT - MIT License