@cyco130/eslint-config

3.9.0 • Public • Published

@cyco130/eslint-config

This is a set of reusable ESLint configurations for Fatih Aygün's personal projects.

Usage

Install with pnpm install -D @cyco130/eslint-config and create a .eslintrc.cjs file with the following content:

require("@cyco130/eslint-config/patch");

module.exports = {
	root: true,
	extends: ["@cyco130/eslint-config/node"], // or react instead of node
	ignorePatterns: ["node_modules", "dist", "**/*.cjs"],
	parserOptions: { tsconfigRootDir: __dirname },
	settings: {
		"import/resolver": {
			typescript: {
				project: [__dirname + "/tsconfig.json"],
			},
		},
	},
};

Credits and license

Readme

Keywords

none

Package Sidebar

Install

npm i @cyco130/eslint-config

Weekly Downloads

630

Version

3.9.0

License

MIT

Unpacked Size

6.44 kB

Total Files

6

Last publish

Collaborators

  • cyco130