my standardised eslint config
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.vscode
scripts
src
types
.editorconfig
.eslintignore
.eslintrc.js
.gitignore
.npmignore
.prettierignore
.prettierrc
LICENCE
Makefile
README.md
package.json
tsconfig.json
yarn.lock

README.md

eslint-config-brad

ESLint configuration files for my style

Usage

yarn add -D eslint-config-brad

If you're working on a non-react project:

{
    "extends": [
        "brad",
    ],
}

If you're working on a react project:

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

Developing

Clone the repo, and then install the dependencies yarn install

Available Commands:

  • make build - run a typescript build on each package
  • make lint - lint the entire codebase
  • make format - run prettier on the codebase
  • make show-unused - scan the packages and their plugins to find any rules that haven't been defined
  • make regenerate-types - generate the typescript definition files for all of the valid, non-deprecated rules