WordPress.org

Make WordPress Core

Opened 6 years ago

Last modified 4 months ago

#31823 accepted task (blessed)

Add JSCS integration — at Version 1

Reported by: westonruter Owned by:
Milestone: Future Release Priority: normal
Severity: normal Version:
Component: Build/Test Tools Keywords:
Focuses: javascript Cc:

Description (last modified by westonruter)

The JSCS project has added a wordpress preset. This could be useful to be included in Core. All it needs is a .jscsrc file located in the root which contains:

{
        "preset": "wordpress",
        "excludeFiles": [
                "**/vendor/**",
                "**.min.js",
                "**/node_modules/**"
        ]
}

Related:
#30153 (PHP_CodeSniffer)
#25187 (JSHnt)
#28543 (Allow stricter JSHint checks for core files)

Change History (1)

#1 @westonruter
6 years ago

  • Description modified (diff)
Note: See TracTickets for help on using tickets.