@anvilabs/eslint-config-typescript

Anvilabs' ESLint config for our Typescript codebases

Stats

StarsIssuesVersionUpdatedCreatedSize
@anvilabs/eslint-config-typescript
11017.10.23 years ago4 years agoMinified + gzip package size for @anvilabs/eslint-config-typescript in KB

Readme

@anvilabs/eslint-config-typescript

Version Dependency Status devDependency Status

Anvilabs' ESLint config for our Typescript codebases.

Usage

This config relies dangerously on npm@3/yarn flatter tree for its dependencies (because of eslint/issues/3458), so installation may be as simple as:

$ yarn add eslint prettier @anvilabs/eslint-config @anvilabs/eslint-config-typescript --dev
# or
$ npm install eslint prettier @anvilabs/eslint-config @anvilabs/eslint-config-typescript --save-dev

Then add the extends to your .eslintrc.js:

module.exports = {
  extends: ['@anvilabs/eslint-config', '@anvilabs/eslint-config-typescript' /* and maybe '@anvilabs/eslint-config-typescript/react' or '@anvilabs/eslint-config-typescript/react-native' */],
  rules: {
    // your overrides
  },
};

Additional configs include:

  • '@anvilabs/eslint-config-typescript/react' for usage with React
  • '@anvilabs/eslint-config-typescript/react-native' for usage with React Native

License

MIT License © Anvilabs LLC

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.