4.0.2 • Published 2 months ago

@thermarthae/eslint-config v4.0.2

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

@thermarthae/eslint-config

Just a personalized Airbnb Eslint config.

✨ Setup

1) Install

This step assumes that you have already installed Eslint and Typescript.

yarn add -D @thermarthae/eslint-config @typescript-eslint/eslint-plugin @typescript-eslint/parser eslint-plugin-import eslint-plugin-jsx-a11y eslint-plugin-react eslint-plugin-react-hooks

If you don't need React support:

yarn add -D @thermarthae/eslint-config @typescript-eslint/eslint-plugin @typescript-eslint/parser eslint-plugin-import

2) Configure ESLint

Add "extends": "@thermarthae/eslint-config" to your ESLint config file.

An example .eslintrc.js:

module.exports = {
	// If you don't need React support:
	// extends: ['@thermarthae/eslint-config/base'],
	extends: ['@thermarthae/eslint-config'],
};

Note: If your tsconfig.json is not in the same directory as package.json, you will have to set the path yourself:

	module.exports = {
		extends: ['@thermarthae/eslint-config'],
+		parserOptions: {
+			project: './foo/bar/tsconfig.json',
+		},
	};

📝 License

Copyright © 2020 thermarthae.

This project is MIT licensed.

4.0.2

2 months ago

4.0.1

2 months ago

4.0.0

2 months ago

3.0.0

2 months ago

2.0.0

1 year ago

1.0.0

3 years ago

0.1.1

3 years ago

0.1.0

3 years ago

0.0.0

3 years ago