Skip to content

Tunnel-Labs/eslint-config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

@tunnel/eslint-config

Installation

npm install --save-dev @tunnel/eslint-config

Usage

// .eslintrc.cjs

const { defineConfig } = require('@tunnel/eslint-config');

module.exports = defineConfig({
	ignorePatterns: ['imports'],
	rules: {
		'no-new': 'off',
		'unicorn/template-indent': [
			'error',
			{
				tags: ['yaml', 'outdent'],
			},
		],
	},
	overrides: [
		{
			files: ['src/kubernetes/**/*.ts'],
			rules: {
				'import/prefer-default-export': 'error',
			},
		},
	],
});

About

Tunnel's ESLint configuration.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published