Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@humanmade/stylelint-config

Package Overview
Dependencies
Maintainers
7
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@humanmade/stylelint-config - npm Package Versions

1.2.1

Diff

kadamwhite
published 1.1.1 •

Changelog

Source

1.1.1 (October 27, 2020)

Added:

  • Support Composer 2 #233

Changed:

  • Allowed use of the "relation" element in meta query sniff #232
kadamwhite
published 1.1.0 •

Changelog

Source

1.1.0 (September 18, 2020)

Added:

  • Added ESLint eslint-plugin-import plugin to enforce consistent ordering of import statements in JavaScript module files #219, #84
  • Added ESLint eslint-plugin-jsdoc plugin #218
  • Added ESLint eslint-plugin-sort-destructure-keys plugin #218

Changed:

  • Make JSX property sorting case-insensitive #217
kadamwhite
published 1.0.0 •

Changelog

Source

1.0.0 (July 31, 2020)

Added:

  • Added WordPress-Docs by default in PHPCS #177
  • Added ESLint rule for requiring docblocks #209
  • Added ESLint rule for JSX boolean values #183
  • Added ESLint rule for sorting JSX props #195
  • Added ESLInt Rules of Hooks ruleset #197
  • Allow $namespace.php in function files #99
  • Added Lerna for publishing packages #175

Updated:

  • Adjust Stylelint class and ID selector patterns #199
  • Updated WPCS to 2.2.1 #151
  • Updated VIPCS to 2.0.0 #151
  • Updated DealerDirect to 0.6 #151
  • Fixed FunctionCallSignature inconsistency in phpcbf #200
  • Allow for multiple variable assignments #201
  • Allow for theme filenames when sniffing filename #202
  • Updated .editorconfig for YAML & Markdown files #175

Changed:

  • Formatted package.json files with tabs #175
  • Moved ESLint .editorconfig to project root #175
  • Renamed root readme.md to README.md #175
  • Updated composer.json description #175
  • Updated package.json files meta #175

Removed:

  • Remove <file>, <basepath> and testVersion from ruleset #187, #198
mikeselander
published 0.8.0 •

Changelog

Source

0.8.0 (January 29, 2020)

Added:

  • Added PHPCS Rule to Detect Consecutive Newlines #168
  • Enforce semicolons in JS #169
  • Added WordPress.Security.EscapeOutput PHPCS rule #166
  • Added PHPCompatibilityWP standard to PHPCS #81
  • Disallowed usage of !important in CSS #164
  • Enforced consistent curly newlines in jsx #172
  • Added eslint-plugin-sort-destructure-keys package #179

Updated:

  • Bumped PHPCS to v3.5 from v3.4 #173
  • Bumped stylelint-config-wordpress package to v15 from v13 #165
  • Ignore stylelint at-rule line break for if/else/elseif #170
  • Restricted fixture tests to load only custom HM sniffs #163
mikeselander
published 0.7.0 •

Changelog

Source

0.7.0 (June 5, 2019)

Changed:

  • Exclude load.php from NamespaceDirectoryNameSniff #131
  • Allow json_encode / json_decode function usage #97
  • Fix NamespaceDirectoryNameUnitTest parsing the wrong namespace directory length #140
  • Updated location of stylelint package to reflect correct NPM name #137

Added:

  • Made PHPCompatibilityWP available via Composer #146
mikeselander
published 0.6.0 •

Changelog

Source

0.6.0 (April 2, 2019)

Summation:

  • Updated PHPCS to v3.4 #88
  • Updated WPCS to 1.2.0 #82
  • Updated eslint to 5.10 and associated deps #101

Added:

  • stylelint configuration #45
  • Added VIP PHPCS standards dependency #122

Changed:

  • Use ecmaversion 2018 #87
  • Require space in curly braces for React JSX children #121
  • Allow multiple declaration in use statement #78
  • Exclude the tests dir from the NamespaceExclusionTest #112
  • Set composer library type to phpcodesniffer-standard #116

Removed:

  • Allow trigger_error #98
  • Remove assignment of equals rule #96
  • Remove href-no-hash rule exclusion #114
<details> <summary>PHPCS Core Rule Additions</summary>
https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards/releases
* Added new Generic.CodeAnalysis.EmptyPHPStatement sniff
    * Warns when it finds empty PHP open/close tag combinations or superfluous semicolons
* Added new Generic.Formatting.SpaceBeforeCast sniff
    * Ensures there is exactly 1 space before a type cast, unless the cast statement is indented or multi-line
* Added new Generic.VersionControl.GitMergeConflict sniff
    * Detects merge conflict artifacts left in files
* Added Generic.WhiteSpace.IncrementDecrementSpacing sniff
    * Ensures there is no space between the operator and the variable it applies to
* Added PSR12.Functions.NullableTypeDeclaration sniff
    * Ensures there is no space after the question mark in a nullable type declaration
* Added new Generic.PHP.LowerCaseType sniff-Ensures PHP types used for type hints, return types, and type casting are lowercase
* Added new Generic.WhiteSpace.ArbitraryParenthesesSpacing sniff
    * Generates an error for whitespace inside parenthesis that don't belong to a function call/declaration or control structure
    * Generates a warning for any empty parenthesis found
    * Allows the required spacing to be set using the spacing sniff property (default is 0)
    * Allows newlines to be used by setting the ignoreNewlines sniff property (default is false)
* Added new PSR12.Classes.ClassInstantiation sniff
    * Ensures parenthesis are used when instantiating a new class
* Added new PSR12.Keywords.ShortFormTypeKeywords sniff
    * Ensures the short form of PHP types is used when type casting
* Added new PSR12.Namespaces.CompundNamespaceDepth sniff
    * Ensures compound namespace use statements have a max depth of 2 levelsThe max depth can be changed by setting the 'maxDepth' sniff property in a ruleset.xml file
* Added new PSR12.Operators.OperatorSpacing sniff-Ensures operators are preceded and followed by at least 1 space
</details>
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc