1
1
mirror of https://github.com/primer/css.git synced 2024-10-26 17:34:39 +03:00

Updating lint line

This commit is contained in:
Jon Rohan 2021-03-25 13:36:35 -07:00
parent 3054121ade
commit 774ab307b6
No known key found for this signature in database
GPG Key ID: B0BBE304A9A0AECB
6 changed files with 6 additions and 13 deletions

View File

@ -16,8 +16,8 @@ jobs:
- name: Install dependencies
run: yarn
- name: Lint
run: script/lint-ci
- name: CSS Lint
run: yarn stylelint && yarn stylelint -- --report-needless-disables
- name: Build
run: yarn dist

View File

@ -1,6 +1,5 @@
{
"extends": [
"plugin:github/react",
"plugin:jsx-a11y/recommended"
],
"rules": {

View File

@ -46,7 +46,6 @@
"devDependencies": {
"@changesets/changelog-github": "^0.3.0",
"@changesets/cli": "^2.14.1",
"@github/prettier-config": "^0.0.4",
"@octokit/rest": "^16.34.0",
"@storybook/addon-viewport": "5.3.18",
"@storybook/react": "5.3.18",
@ -58,6 +57,7 @@
"details-dialog-element": "^1.4.0",
"eslint": "^7.22.0",
"eslint-plugin-github": "^4.1.2",
"eslint-plugin-prettier": "^3.3.1",
"filesize": "4.1.2",
"fs-extra": "^4.0.2",
"gh-pages": "^1.0.0",

View File

@ -1 +0,0 @@
module.exports = require('eslint-plugin-github/prettier.config')

View File

@ -1,5 +1,5 @@
#!/bin/bash -e
npm run stylelint
npm run stylelint -- --report-needless-disables
npm run eslint
npm run eslint-docs
# npm run eslint
# npm run eslint-docs

View File

@ -1258,11 +1258,6 @@
minimatch "^3.0.4"
strip-json-comments "^3.1.1"
"@github/prettier-config@^0.0.4":
version "0.0.4"
resolved "https://npm.pkg.github.com/download/@github/prettier-config/0.0.4/69d843b9d8cba082ce7977ef0fe3367716462384a6857e7e9ef6b40d5868d98b#cbfddb36a7f29a81c5af155dc5827e95b23b9ccd"
integrity sha512-ZOJ+U771Mw68qp2GPbcqPt2Xg0LEl0YwiIFHXwVLAFm2TgDnsgcCHhXO8PIxOWPqSFO4S7xIMD9CBobfaWGASA==
"@hypnosphi/create-react-context@^0.3.1":
version "0.3.1"
resolved "https://registry.yarnpkg.com/@hypnosphi/create-react-context/-/create-react-context-0.3.1.tgz#f8bfebdc7665f5d426cba3753e0e9c7d3154d7c6"
@ -5521,7 +5516,7 @@ eslint-plugin-import@>=2.20.1:
resolve "^1.17.0"
tsconfig-paths "^3.9.0"
eslint-plugin-prettier@>=3.1.2:
eslint-plugin-prettier@>=3.1.2, eslint-plugin-prettier@^3.3.1:
version "3.3.1"
resolved "https://registry.yarnpkg.com/eslint-plugin-prettier/-/eslint-plugin-prettier-3.3.1.tgz#7079cfa2497078905011e6f82e8dd8453d1371b7"
integrity sha512-Rq3jkcFY8RYeQLgk2cCwuc0P7SEFwDravPhsJZOQ5N4YI4DSg50NyqJ/9gdZHzQlHf8MvafSesbNJCcP/FF6pQ==