10.0.2 • Published 2 years ago

eslint-config-niksy v10.0.2

Weekly downloads
381
License
MIT
Repository
github
Last release
2 years ago

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ć

10.0.2

2 years ago

10.0.1

3 years ago

10.0.0

3 years ago

9.0.1

4 years ago

9.0.0

4 years ago

8.0.0

4 years ago

7.1.0

5 years ago

7.0.0

5 years ago

6.2.0

5 years ago

6.1.3

6 years ago

6.1.2

6 years ago

6.1.1

6 years ago

6.1.0

6 years ago

6.0.0

6 years ago

5.3.5

6 years ago

5.3.4

6 years ago

5.3.3

6 years ago

5.3.2

6 years ago

5.3.1

6 years ago

5.3.0

6 years ago

5.2.3

6 years ago

5.2.2

6 years ago

5.2.1

6 years ago

5.2.0

6 years ago

5.1.0

6 years ago

5.0.1

6 years ago

5.0.0

6 years ago

4.0.6

7 years ago

4.0.5

7 years ago

4.0.4

7 years ago

4.0.3

7 years ago

4.0.2

7 years ago

4.0.1

7 years ago

4.0.0

7 years ago

3.3.2

7 years ago

3.3.1

7 years ago

3.3.0

7 years ago

3.2.0

7 years ago

3.1.0

8 years ago

3.0.1

8 years ago

3.0.0

8 years ago

2.1.0

8 years ago

2.0.1

8 years ago

2.0.0

8 years ago

1.1.0

8 years ago

1.0.8

8 years ago

1.0.7

8 years ago

1.0.6

8 years ago

1.0.5

8 years ago

1.0.4

8 years ago

1.0.3

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago