stylelint-a11y icon indicating copy to clipboard operation
stylelint-a11y copied to clipboard

Upgrade stylelint to 14.0.0

Open rsstdd opened this issue 3 years ago • 21 comments

Updates stylelint and addresses issue #65.

rsstdd avatar Nov 18 '21 00:11 rsstdd

hey @igorkamyshev @YozhikM Any news on this PR?

alies-dev avatar Dec 02 '21 10:12 alies-dev

hey @igorkamyshev @YozhikM Any news on this PR?

Hey. Unfortunately, I have no permissions to merge PRs in this repo.

igorkamyshev avatar Dec 02 '21 14:12 igorkamyshev

@rsstdd Ping me on this weekend if there is no answer

alexander-akait avatar Dec 02 '21 14:12 alexander-akait

Ping @alexander-akait :)

benbender avatar Dec 04 '21 09:12 benbender

Ping @alexander-akait!

rsstdd avatar Dec 12 '21 18:12 rsstdd

It looks like this plugin could use additional maintenance love – do the people currently involved with it take applications for new maintainers? I’d happily volunteer some of my time, accessibility-oriented rules feel invaluable for the whole stylelint ecosystem.

Apart from this peerDeps compatibility change, the project should also migrate from Travis to GitHub Actions like other stylelint projects have.

thibaudcolas avatar Dec 13 '21 11:12 thibaudcolas

Yes! I just tried to install this, and found it's not compatible with stylelint 14. This is sorely needed. Thank you!

ModulesUnraveled avatar Feb 17 '22 11:02 ModulesUnraveled

~~Sorry, I am very busy, maybe someone wants to send a PR?~~ That is PR :smile:

alexander-akait avatar Feb 17 '22 12:02 alexander-akait

Can we add github actions (i.e. CI) here to run tests, because it is hard what it works fine with new version without problems?

alexander-akait avatar Feb 17 '22 12:02 alexander-akait

It appears that @YozhikM is the only one with access to do that sort of thing. And he hasn't been active in a couple of years? I'm going to work on a fork to bring things up to date, unless or until this one can be maintained.

ModulesUnraveled avatar Feb 17 '22 12:02 ModulesUnraveled

No need to do fork, we need just add CI file here and I will merge

alexander-akait avatar Feb 17 '22 12:02 alexander-akait

@alexander-akait implementation of a CI-workflow shouldn't be part of this PR imho. Separate topic, separate PR.

benbender avatar Feb 17 '22 12:02 benbender

Sorry, I can't merge it without test, I understand what it should be part of another commit (but I don't understand why do not include it here), but I can't merge it without verification, it can be broken

alexander-akait avatar Feb 17 '22 12:02 alexander-akait

I'm not sure how to add to a fork PR like this. But this should work if it's created at .github/workflows/test.yml

on:
  pull_request:
    branches: ['master']
jobs:
  test:
    runs-on: ubuntu-latest
    steps:
      - name: Checkout
        uses: actions/checkout@v2
      - name: Install Node.js
        uses: actions/setup-node@v2
        with:
          node-version: 16.13
      - name: Install
        run: npm ci
      - run: npm run test

ModulesUnraveled avatar Feb 17 '22 13:02 ModulesUnraveled

Then, ideally, you'd update the settings for this repo to protect the master branch and require tests to pass before merging. Something like this: (but with the master branch, instead of main in the screenshot) Screen Shot 2022-02-17 at 7 04 06 AM

ModulesUnraveled avatar Feb 17 '22 13:02 ModulesUnraveled

as we cant add to this pr, here is a separate one: https://github.com/YozhikM/stylelint-a11y/pull/67

benbender avatar Feb 17 '22 13:02 benbender

Additionally: The tests are clean for stylelint 14, but the (dev-)deps are vastly outdated and full security-issues and would need a serious overhault. This, in turn, would need a decision about the build-infrastructure and clean handling of cjs/esm as it is mixed atm and fails for upgraded deps.

benbender avatar Feb 17 '22 13:02 benbender

@alexander-akait Any chances on getting #67 merged so we can get movement on this?

trdyer avatar Apr 11 '22 15:04 trdyer

Hi will this PR be merged?

winston0410 avatar Jun 16 '22 10:06 winston0410

For people following this discussion – there’s now talks of either adding some of those rules to Stylelint itself or creating another community plugin similar to stylelint-a11y here: https://github.com/stylelint/stylelint/issues/6212.

thibaudcolas avatar Jul 26 '22 23:07 thibaudcolas

Hello, any news about this PR ?

liyokuna avatar Sep 11 '23 08:09 liyokuna