Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

nikola-generator

NikolaM-Dev20MIT1.1.11

Quickly create and opinionated .eslintrc.js with built-in prettier rules

eslint, .eslintrc.json, prettier, node, typescript, react, next, nest, javascript, js, ts

readme

nikola-generator

Generator of eslint and prettier configurations for next, nest, react, node for both typescript and javascript.

📦 Usage

Install on a particular project:

npx nikola-generator

Install globally(recommended if you are using our technologies very often):

# yarn
yarn global add nikola-generator

# npm
npm install -g nikola-generator

# use
nikola

This configuration allows you to automatically correct most of the problems that eslint marks in your VS Code

"editor.codeActionsOnSave": {
  "source.fixAll.eslint": true
},

"[javascript]": {
  "editor.formatOnPaste": false,
  "editor.formatOnSave": false
},

"[javascriptreact]": {
  "editor.formatOnPaste": false,
  "editor.formatOnSave": false
},

"[typescript]": {
  "editor.formatOnPaste": false,
  "editor.formatOnSave": false
},

"[typescriptreact]": {
  "editor.formatOnPaste": false,
  "editor.formatOnSave": false
},

Don't forget to have eslint installed in your VS Code

🔥 Working in...

templates for more configurations and projects configured to start 🚀.

LICENSE: MIT

Check the file here