Super-linter: ESLint config extending and plugins

Created on 9 Jul 2020  路  4Comments  路  Source: github/super-linter

I use my own ESLint configuration file and have some configs and plugins (arbnb, prettier, etc.) which are installed via npm.
It was copied to .github/linters/.
I have an error:
Screenshot from 2020-07-09 11-40-12
Is it possible to use extending configs and plugins configuration? If "yes", could you give more information or some tutorianl (documentation)?

question

Most helpful comment

Hi @sergey-muntyanu , yes it is possible.

You need to add the plugins in the devdependencies (or dependencies if you want) and run npm i before running.

I have an example repository using prettier: https://github.com/herbsjs/suma

All 4 comments

Hi @sergey-muntyanu , yes it is possible.

You need to add the plugins in the devdependencies (or dependencies if you want) and run npm i before running.

I have an example repository using prettier: https://github.com/herbsjs/suma

@jhomarolo you config only works because you only include plugins that come with super-linter. It is not a solution to the question of how to install other plugins and configs.

@jhomarolo thank you! I'll try your solution and add feedback here.

@jhomarolo sorry for answering for so long? your solution working. Thank you!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jasonkarns picture jasonkarns  路  5Comments

kilasuit picture kilasuit  路  5Comments

krtschmr picture krtschmr  路  4Comments

bazzadp picture bazzadp  路  3Comments

zkoppert picture zkoppert  路  3Comments