This package has been deprecated

Author message:

Use eslint-config-nitpick.

eslint-config-niksy

10.0.2 • Public • Published

eslint-config-niksy

Build Status

ESLint config for my projects.

Install

npm install eslint@7 --save-dev && npx install-peerdeps eslint-config-niksy --dev

If you’re using npm <5, install this package and each peer dependancy manually or use install-peerdeps CLI.

Usage

Add this config to your .eslintrc:

{
	"extends": [
		"niksy"
	]
}

If you’re using presets, it’s highly recommended to apply default preset:

{
	"extends": [
		"niksy",
		"niksy/other-preset"
	]
}

Presets

In addition to default preset, there are also specific presets. You can apply multiple presets with ESLint extends option.

Browser

Browser specific rules.

{
	"extends": [
		"niksy/browser"
	]
}

Next

Features usually available in next major Node.js version or latest proposals.

{
	"extends": [
		"niksy/next"
	]
}

Testing

Rules for testing frameworks (e.g. Mocha).

{
	"extends": [
		"niksy/tests"
	]
}

React

React specific rules.

{
	"extends": [
		"niksy/jsx", // For JSX rules
		"niksy/react"
	]
}

JSX

JSX specific rules.

{
	"extends": [
		"niksy/jsx"
	]
}

Vue

Vue specific rules.

{
	"extends": [
		"niksy/jsx", // If you use JSX
		"niksy/vue"
	]
}

TypeScript

TypeScript specific rules.

{
	"extends": [
		"niksy/typescript"
	]
}

License

MIT © Ivan Nikolić

Package Sidebar

Install

npm i eslint-config-niksy

Weekly Downloads

55

Version

10.0.2

License

MIT

Unpacked Size

38.6 kB

Total Files

11

Last publish

Collaborators

  • niksy