2.1.3 • Published 6 months ago

@n0bodysec/eslint-config v2.1.3

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

eslint-config-n0bodysec

This the base ESLint configuration I use in personal JavaScript/TypeScript projects.

🚀 Usage

  1. Install the package and its minimum required peer dependencies:
npm install -D @n0bodysec/eslint-config eslint-plugin-import eslint
  1. Extend this package in your ESLint configuration.
"extends": "@n0bodysec"

TypeScript Support

  1. Install the following dev dependencies:
npm install -D @typescript-eslint/eslint-plugin @typescript-eslint/parser
  1. Setup your .eslintrc.js file:
module.exports = {
	plugins: ['@typescript-eslint'],
	parser: '@typescript-eslint/parser',
	extends: [
		'@n0bodysec',
		'eslint:recommended',
		'plugin:@typescript-eslint/recommended-type-checked',
		'plugin:import/typescript',
	],
	parserOptions: {
		project: true,
		tsconfigRootDir: __dirname,
	},
	root: true,
	ignorePatterns: ['node_modules', 'dist'],
};

📝 Changelog

You can read the commits.

📜 License

Licensed under MIT License.

📞 Contact

Feel free to give me feedback.
Issues or Discussions.

2.1.2

6 months ago

2.1.1

10 months ago

2.1.3

6 months ago

2.1.0

2 years ago

2.0.1

2 years ago

2.0.0

2 years ago