Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
mikaelvesavuori committed Jan 24, 2023
0 parents commit 7059e71
Show file tree
Hide file tree
Showing 14 changed files with 15,988 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"plugins": ["@typescript-eslint"],
"parserOptions": {
"ecmaVersion": 2021,
"sourceType": "module"
},
"extends": ["plugin:@typescript-eslint/recommended", "plugin:prettier/recommended"],
"rules": {
"@typescript-eslint/no-explicit-any": ["off"],
"@typescript-eslint/ban-ts-comment": ["warn"],
"complexity": ["warn", { "max": 9 }]
},
"env": {
"node": true,
"es6": true
},
"ignorePatterns": ["node_modules/**"]
}
8 changes: 8 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
.dccache
.env
node_modules/
.serverless/
.webpack/
build/
!dist/
coverage/
7 changes: 7 additions & 0 deletions .prettierrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"useTabs": false,
"printWidth": 100,
"tabWidth": 2,
"singleQuote": true,
"trailingComma": "none"
}
1 change: 1 addition & 0 deletions CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* @mikaelvesavuori
7 changes: 7 additions & 0 deletions LICENSE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
Copyright 2023-present Mikael Vesavuori

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
23 changes: 23 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# StandardLint Action

This Action makes it even easier to use StandardLint in your GitHub CI runs.

## Setup and usage

The only thing you need to run this action is a `standardlint.json` configuration file in your root directory. Please see the [StandardLint documentation](https://github.com/mikaelvesavuori/standardlint#configuration) for more details.

## Example of how to use this action in a workflow

```yml
on: [push]

jobs:
main:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Run StandardLint
uses: mikaelvesavuori/standardlint-action@v1.0.0
env:
GITHUB_TOKEN: ${{ github.token }}
```
8 changes: 8 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
name: 'standardlint-action'
description: 'Runs StandardLint, an extensible standards linter and auditor.'
branding:
icon: 'activity'
color: 'blue'
runs:
using: 'node16'
main: 'dist/index.js'
Loading

0 comments on commit 7059e71

Please sign in to comment.