Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add NPM and Yarn config #13

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 2 additions & 11 deletions .github/workflows/linters.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,7 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: Init yarn
run: yarn init -y
- name: Install standard modules
run: yarn add standard
run: yarn install
- name: Run Standard
run: yarn standard html/index.js
- uses: crate-ci/typos@master
Expand All @@ -25,14 +23,7 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: Init yarn
run: yarn init -y
- name: Install standard modules
run: yarn add stylelint stylelint-config-standard
- name: create stylelint config file
run: |
cat << EOF > .stylelintrc
{ "extends": ["stylelint-config-standard"] }
EOF
run: yarn install
- name: Run stylelint
run: yarn stylelint html/*.css
html-linter:
Expand Down
1 change: 1 addition & 0 deletions .stylelintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{ "extends": ["stylelint-config-standard"] }
14 changes: 14 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"name": "parser",
"version": "1.0.0",
"main": "index.js",
"repository": "[email protected]:test-network-function/parser.git",
"author": "Parser Contributors",
"license": "MIT",
"dependencies": {
"inline-source": "^8.0.2",
"standard": "^17.1.0",
"stylelint": "^15.10.2",
"stylelint-config-standard": "^34.0.0"
}
}