Skip to content

Commit d8f7995

Browse files
committed
Init commit
1 parent 22749ff commit d8f7995

18 files changed

+10405
-0
lines changed

.eslintignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
dist/
2+
lib/
3+
node_modules/

.eslintrc.json

Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
1+
{
2+
"plugins": [
3+
"@typescript-eslint"
4+
],
5+
"extends": [
6+
"plugin:github/recommended"
7+
],
8+
"parser": "@typescript-eslint/parser",
9+
"parserOptions": {
10+
"ecmaVersion": 9,
11+
"sourceType": "module",
12+
"project": "./tsconfig.json"
13+
},
14+
"rules": {
15+
"eslint-comments/no-use": "off",
16+
"import/no-namespace": "off",
17+
"no-unused-vars": "off",
18+
"@typescript-eslint/no-unused-vars": "error",
19+
"@typescript-eslint/explicit-member-accessibility": [
20+
"error",
21+
{
22+
"accessibility": "no-public"
23+
}
24+
],
25+
"@typescript-eslint/no-require-imports": "error",
26+
"@typescript-eslint/array-type": "error",
27+
"@typescript-eslint/await-thenable": "error",
28+
"@typescript-eslint/ban-ts-comment": "error",
29+
"camelcase": "off",
30+
"@typescript-eslint/consistent-type-assertions": "error",
31+
"@typescript-eslint/explicit-function-return-type": [
32+
"error",
33+
{
34+
"allowExpressions": true
35+
}
36+
],
37+
"@typescript-eslint/func-call-spacing": [
38+
"error",
39+
"never"
40+
],
41+
"@typescript-eslint/no-array-constructor": "error",
42+
"@typescript-eslint/no-empty-interface": "error",
43+
"@typescript-eslint/no-explicit-any": "error",
44+
"@typescript-eslint/no-extraneous-class": "error",
45+
"@typescript-eslint/no-for-in-array": "error",
46+
"@typescript-eslint/no-inferrable-types": "error",
47+
"@typescript-eslint/no-misused-new": "error",
48+
"@typescript-eslint/no-namespace": "error",
49+
"@typescript-eslint/no-non-null-assertion": "warn",
50+
"@typescript-eslint/no-unnecessary-qualifier": "error",
51+
"@typescript-eslint/no-unnecessary-type-assertion": "error",
52+
"@typescript-eslint/no-useless-constructor": "error",
53+
"@typescript-eslint/no-var-requires": "error",
54+
"@typescript-eslint/prefer-for-of": "warn",
55+
"@typescript-eslint/prefer-function-type": "warn",
56+
"@typescript-eslint/prefer-includes": "error",
57+
"@typescript-eslint/prefer-string-starts-ends-with": "error",
58+
"@typescript-eslint/promise-function-async": "error",
59+
"@typescript-eslint/require-array-sort-compare": "error",
60+
"@typescript-eslint/restrict-plus-operands": "error",
61+
"semi": "off",
62+
"@typescript-eslint/semi": [
63+
"error",
64+
"never"
65+
],
66+
"@typescript-eslint/type-annotation-spacing": "error",
67+
"@typescript-eslint/unbound-method": "error"
68+
},
69+
"env": {
70+
"node": true,
71+
"es6": true
72+
}
73+
}

.gitignore

Lines changed: 99 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,99 @@
1+
# Dependency directory
2+
node_modules
3+
4+
# Rest pulled from https://github.com/github/gitignore/blob/master/Node.gitignore
5+
# Logs
6+
logs
7+
*.log
8+
npm-debug.log*
9+
yarn-debug.log*
10+
yarn-error.log*
11+
lerna-debug.log*
12+
13+
# Diagnostic reports (https://nodejs.org/api/report.html)
14+
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
15+
16+
# Runtime data
17+
pids
18+
*.pid
19+
*.seed
20+
*.pid.lock
21+
22+
# Directory for instrumented libs generated by jscoverage/JSCover
23+
lib-cov
24+
25+
# Coverage directory used by tools like istanbul
26+
coverage
27+
*.lcov
28+
29+
# nyc test coverage
30+
.nyc_output
31+
32+
# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
33+
.grunt
34+
35+
# Bower dependency directory (https://bower.io/)
36+
bower_components
37+
38+
# node-waf configuration
39+
.lock-wscript
40+
41+
# Compiled binary addons (https://nodejs.org/api/addons.html)
42+
build/Release
43+
44+
# Dependency directories
45+
jspm_packages/
46+
47+
# TypeScript v1 declaration files
48+
typings/
49+
50+
# TypeScript cache
51+
*.tsbuildinfo
52+
53+
# Optional npm cache directory
54+
.npm
55+
56+
# Optional eslint cache
57+
.eslintcache
58+
59+
# Optional REPL history
60+
.node_repl_history
61+
62+
# Output of 'npm pack'
63+
*.tgz
64+
65+
# Yarn Integrity file
66+
.yarn-integrity
67+
68+
# dotenv environment variables file
69+
.env
70+
.env.test
71+
72+
# parcel-bundler cache (https://parceljs.org/)
73+
.cache
74+
75+
# next.js build output
76+
.next
77+
78+
# nuxt.js build output
79+
.nuxt
80+
81+
# vuepress build output
82+
.vuepress/dist
83+
84+
# Serverless directories
85+
.serverless/
86+
87+
# FuseBox cache
88+
.fusebox/
89+
90+
# DynamoDB Local files
91+
.dynamodb/
92+
93+
# OS metadata
94+
.DS_Store
95+
Thumbs.db
96+
97+
# Ignore built ts files
98+
__tests__/runner/*
99+
lib/**/*

.node-version

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
14.9.0

.nvmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
v12.16.1

.prettierignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
dist/
2+
lib/
3+
node_modules/

.prettierrc.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"printWidth": 80,
3+
"tabWidth": 2,
4+
"useTabs": false,
5+
"semi": false,
6+
"singleQuote": true,
7+
"trailingComma": "none",
8+
"bracketSpacing": false,
9+
"arrowParens": "avoid"
10+
}

Makefile

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
build:
2+
yarn install
3+
4+
package: build
5+
yarn package
6+
7+
release: package

NOTES.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# Development
2+
3+
```
4+
nvm use
5+
yarn install
6+
yarn package
7+
```

action.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
name: 'Setup clojure-lsp - Clojure tool for refactoring and cleaning your code.'
2+
description: 'Setup your runner with clojure-lsp'
3+
author: 'ericdallo'
4+
branding:
5+
icon: 'bold'
6+
color: 'green'
7+
inputs:
8+
clojure-lsp-version:
9+
description: 'The clojure-lsp/clojure-lsp version to make available on the path. Only exact version allowed.'
10+
required: true
11+
runs:
12+
using: 'node12'
13+
main: 'dist/index.js'

0 commit comments

Comments
 (0)