2.0.5 • Published 12 months ago

eslint-config-artemest v2.0.5

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

Artemest ESLint/Prettier config

npm version NPM downloads GitHub issues Code Style Prettier MIT License Twitter Follow

These are settings for ESLint and Prettier used by Artemest.

What it does

This setup lints your JavaScript code based on practices. Check the .eslintrc.js file to see what is included. Feel free to override the rules that make sense for you.

Installing

  1. In your project folder, run:
npm i -D eslint-config-artemest # or yarn install --dev eslint-config-artemest
  1. You will see several dependencies were installed. Now, create (or update) a .eslintrc file with the following content:
{
	"extends": ["artemest"]
}

tsconfig.eslint.json

If you're using Typescript, you should create a new tsconfig.eslint.json file in order to lint everything:

{
	"extends": "./tsconfig.json",
	"exclude": ["node_modules"],
	"include": ["**/*.js", "**/*.ts", "**/*.tsx"]
}

And in your .eslintrc:

{
	"extends": ["artemest"],
	"parserOptions": {
		"project": "tsconfig.eslint.json"
	}
}
  1. Copy the .prettierrc file from this repository into your project folder

This repository is inspired by eslint-config-leozera, configurations are extended starting from @lasalefamine/eslintc.

2.0.3

12 months ago

2.0.2

12 months ago

2.0.5

12 months ago

2.0.4

12 months ago

2.0.1

12 months ago

2.0.0

12 months ago

1.0.8

2 years ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago