Skip to content

Latest commit

 

History

History
18 lines (14 loc) · 406 Bytes

README.md

File metadata and controls

18 lines (14 loc) · 406 Bytes

Niketa tools

It expects this in package.json

"niketaScripts": {
  "fileCommands": {
    "**/*.js": "yarn lint:file"
  },
  "testCommands": {
    "**/*.js": "yarn jest:file"
  }
},

In this case, when pressing ctrl+1, it will run yarn lint:file with the current path as additional argument.

When pressing alt+w, it will run yarn run:file with the current path as additional argument.