0.1.2 • Published 3 months ago

eslint-config-sensible-style v0.1.2

Weekly downloads
-
License
ISC
Repository
github
Last release
3 months ago

eslint-config-sensible-style

This config is configured primarily for typescript projects. It should still work for javascript files as well without issues but there could be some conflicts in the rules. At some point I will probably create a separate config specifically for pure js rather than trying to handle them both from the same config.

This is an opinionated config aimed to produce readable code and imports, but most issues raised by this config should be easily fixable using eslint --fix by itself

Installation

Install the eslint-config-senseible-style package and the required peer dependencies

You can use your choice of package manager npm/yarn/pnpm but I like pnpm.

pnpm install --save-dev eslint-config-sensible-style

pnpm install --save-dev \
    eslint \
    @typescript-eslint/eslint-plugin \
    @typescript-eslint/parser \
    eslint-import-resolver-typescript \
    eslint-plugin-import

Create file .eslintrc.js with the following content

module.exports = {
  extends: ['eslint-config-sensible-style'],
};
0.1.2

3 months ago

0.1.1

3 months ago

0.1.0

3 months ago

0.0.12

12 months ago

0.0.11-test

1 year ago

0.0.10

1 year ago

0.0.11

1 year ago

0.0.9

1 year ago

0.0.8

1 year ago

0.0.6-exp2

1 year ago

0.0.6-exp1

1 year ago

0.0.1

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.6-exp

1 year ago

0.0.5

1 year ago

0.0.4

2 years ago

0.0.7

1 year ago

0.0.6

1 year ago

2.0.0

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago