question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

docs: Add configs from plugin usage for the new config system.

See original GitHub issue

What problem do you want to solve?

In the new config system, the specification of plugin is different.

For example, a property configs does not have any effect.

How plugin works in the new config system should be described in the docs.

What do you think is the correct solution?

A new page should be introduced, like this page is introduced.

Participation

  • I am willing to submit a pull request for this change.

Additional comments

No response

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
nzakascommented, Oct 4, 2022

It would look like this:

import jsdoc from "eslint-plugin-jsdoc";

export default [
    // replacement for extends -- just drop the object right into the array
    jsdoc.configs.recommended,
    {
        files: ["**/*.js"],
        plugins: {
            jsdoc: jsdoc
        }
        rules: {
            "jsdoc/require-description": "error",
            "jsdoc/check-values": "error"
        }  
    }
];
0reactions
bpmuttercommented, Oct 3, 2022

if you could provide a full example, that’d be helpful. i’m still not fully grasping the difference here.

Read more comments on GitHub >

github_iconTop Results From Across the Web

ESLint's new config system, Part 2: Introduction to flat config
A pluggable and configurable linter tool for identifying and reporting on patterns in JavaScript. Maintain your code quality with ease.
Read more >
Guide to Configuring Plug-ins - Apache Maven
The plugin documentation for those parameters will list an expression that denotes the system properties for the configuration.
Read more >
Config Plugins - Expo Documentation
Config plugins are a system for extending the Expo config and customizing the prebuild phase of managed builds. Internally Expo CLI uses config...
Read more >
Managing Plugins - Jenkins
This section covers everything from the basics of managing plugins within the Jenkins web UI, to making changes on the controller's file system....
Read more >
Configuration - MkDocs
A list of plugins (with optional configuration settings) to use when building the site. See the Plugins documentation for full details. If the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found