eslint-config-node-meca

1.3.8 • Public • Published

Meca Node Package to import Eslint config to each nodeJs Project.

How import Eslint config from this package to a node project?

You need to overwrite your eslintrc.js local project file with this configuration :

module.exports = {
  "extends": "node-meca"
};

Avoid npm incompatible dependencies

Please remove these packages from your own project dependencies to avoid to install 2 different versions. There are already installed by the eslint-config-node-meca.

  • "@typescript-eslint/eslint-plugin"
  • "@typescript-eslint/parser"
  • "eslint-config-prettier"
  • "eslint-plugin-prettier"

Alternatively, put the same version as in the eslint-config-node-meca package.

PhpStorm additionnal config

You can auto format your code with Phpstorm in Settings > Tools > Action On Save Enable "Reformat code" and "Rearrange code"

Ensure you enable "Run eslint --fix on save" in Settings > Languages & Frameworks > JavaScript > Code Quality Tools > ESlint

Readme

Keywords

none

Package Sidebar

Install

npm i eslint-config-node-meca

Weekly Downloads

12

Version

1.3.8

License

UNLICENSED

Unpacked Size

2.23 kB

Total Files

3

Last publish

Collaborators

  • web-it-mecatechnic