1.10.1 • Published 2 months ago

eslint-config-dolmios v1.10.1

Weekly downloads
-
License
MIT
Repository
github
Last release
2 months ago

eslint-config-dolmios

A simple ESLint setup using @typescript-eslint, with Prettier and a couple TSConfig setups.

Install

pnpm add eslint-config-dolmios

Usage

Populate .eslintrc with the following, and code away.

"extends": ["dolmios"]

Alternatively, you can use eslintConfig in package.json.

"eslintConfig": {
  "extends": ["dolmios"]
}

Usage with Prettier

Prettier is configured to work nicely with this config, though is an optional inclusion. If you'd like to include the config, you can add it to package.json.

"prettier": "eslint-config-dolmios/configs/prettier"

Extending Prettier

The above method does not offer a way to extend the configuration to overwrite some properties from the shared configuration. If you need to do that, import the file in a .prettierrc.js file and export the modifications.

https://prettier.io/docs/en/

module.exports = {
...require("eslint-config-dolmios/configs/prettier"),
parser: "babel",
};

Usage with TSConfig

This config also exports two TSConfig setups, base and lib respectively. The base config is generally suitable. To include either, extend your tsconfig.json.

"extends": "eslint-config-dolmios/configs/tsconfig"

Configurations

You can view the ESLint configuration in the reference notes: reference.txt.

Contributing

Feel free to get in touch with feedback, advice or suggestions. See Conventional Commits for new contributors.

Acknowledgments

1.10.1

2 months ago

1.10.0

2 months ago

1.9.0

4 months ago

1.8.6

6 months ago

1.8.5

6 months ago

1.8.2

8 months ago

1.8.4

7 months ago

1.8.3

8 months ago

1.8.1

9 months ago

1.8.0

9 months ago

1.6.2

11 months ago

1.7.0

10 months ago

1.6.1

11 months ago

1.6.0

11 months ago

1.5.1

12 months ago

1.4.5

1 year ago

1.5.0

1 year ago

1.4.4

1 year ago

1.4.3

1 year ago

1.4.2

1 year ago

1.4.1

1 year ago

1.2.0

2 years ago

1.1.1

2 years ago

1.3.7

1 year ago

1.3.6

1 year ago

1.3.5

1 year ago

1.3.4

1 year ago

1.3.3

1 year ago

1.3.2

1 year ago

1.4.0

1 year ago

1.3.1

1 year ago

1.3.0

1 year ago

1.2.1

1 year ago

1.3.10

1 year ago

1.3.11

1 year ago

1.3.9

1 year ago

1.3.8

1 year ago

1.1.0

2 years ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago