Netcentric / stylelint-config

Cognizant Netcentric's coding and style rules for Stylelint
Apache License 2.0
4 stars 1 forks source link

Feature: Update to Stylelint 16, update other dependencies, and restore deprecated stylistic rules #19

Closed lucasenicora closed 2 weeks ago

lucasenicora commented 3 weeks ago

This PR does 2 main things:

Of course this needs a whole major version change due to the breaking changes

Description

The decision of adding the @stylistic package was based on the fact that these rules were already being used by the NC config. So for me it makes sense to keep them even if this deviates from the general approach that Stylelint has decided to keep.

Note that these rules were already lost in v2 of the NC rules, because after Stylelint v15 they had to be manually enabled again in the project, due to them being removed in the stylelint standard configuration.

The configuration has been tested with my own project, and is working as expected. There're a few new warnings being raised by the no-unsupported-browser-features plugin, so the Readme was updated with the newest recommendations

Related Issue

Fixes #17

Types of changes

Checklist: