eslint-config-andrewaylett
TypeScript icon, indicating that this package has built-in type declarations

3.1.0 • Public • Published

eslint-config-andrewaylett

My personal preferences for ESLint rules

Motivation

Working for Skyscanner, I'm a big fan of eslint-config-skyscanner. But there are a couple of things that make it less ideal for external projects and ones that don't use React, so this is my set of preferences for my own projects.

Feel free to use it directly if you don't mind the somewhat opinionated stance, or to copy any bits out of it if you don't want to be subject to any whimsical changes of mind.

Execution

This is a complete Typescript configuration. It's also written in Typescript, and linted using its own ruleset.

The post build test validates some constraints, most usefully it ensures that the ranges of peer dependencies are appropriate. We do this by mangling the content of package.json in a temporary directory and linting, testing, and building again.

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
3.1.06latest

Version History

VersionDownloads (Last 7 Days)Published
3.1.06
3.0.098
2.3.02
2.2.010
2.1.21
2.1.1210
2.1.01
2.0.01
1.0.01

Package Sidebar

Install

npm i eslint-config-andrewaylett

Weekly Downloads

10

Version

3.1.0

License

Apache-2.0

Unpacked Size

21.8 kB

Total Files

17

Last publish

Collaborators

  • andrewaylett