Skip to content

Commit 11d2dfe

Browse files
Merge pull request #443 from jasonnovichRunAI/master
start of linting implementation
2 parents 81f6627 + 0d1ef4c commit 11d2dfe

File tree

136 files changed

+7596
-123
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

136 files changed

+7596
-123
lines changed

.github/workflows/old-publish-staging.yml

Lines changed: 0 additions & 32 deletions
This file was deleted.

.github/workflows/publish-docs.yaml.old

Lines changed: 0 additions & 91 deletions
This file was deleted.
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
extends: substitution
2+
message: Use '%s' instead of '%s'
3+
description: "Tech people know their acronyms; you come across as not very tech-savvy if you expand them."
4+
ignorecase: true
5+
level: warning
6+
action:
7+
name: replace
8+
swap:
9+
'cascading[ -]?style[ -]?sheets': CSS
10+
'hyper[ -]?text(?:[ -]?mark[ -]?up(?:[ -]?language)?)?': HTML
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
extends: existence
2+
message: "Avoid using '%s'"
3+
description: "Benefits such as '%s' are not bad in themselves, but their appearance in a job post often disguises the fact that there are few real benefits to working for a company."
4+
ignorecase: true
5+
level: warning
6+
tokens:
7+
- 'ales?'
8+
- 'beers?'
9+
- 'brewskis?'
10+
- 'coffee'
11+
- '(?:foos|fuss)[ -]*ball'
12+
- 'happy[ -]*hours?'
13+
- 'keg(erator)?s?'
14+
- 'lagers?'
15+
- 'nerf[ -]*guns?'
16+
- 'ping[ -]*pong?'
17+
- 'pints?'
18+
- 'pizzas?'
19+
- 'play\\s*stations?'
20+
- 'pool[ -]*table|pool'
21+
- 'rock[ -]*walls?'
22+
- 'table[ -]*football'
23+
- 'table[ -]*tennis'
24+
- 'wiis?'
25+
- 'xbox(?:es|s)?'
26+
- 'massages?'
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
extends: existence
2+
message: "Avoid using '%s'"
3+
description: "Bro culture terminology can really reduce the number of people likely to show interest."
4+
ignorecase: true
5+
level: error
6+
tokens:
7+
- 'brogramm(?:er|ers|ing)'
8+
- 'crank'
9+
- 'crush'
10+
- 'hard[ -]*core'
11+
- 'hella'
12+
- 'mak(?:e|ing) it rain'
13+
- 'skillz'
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
extends: existence
2+
message: "Avoid using '%s'"
3+
description: "Competition can be healthy, but for a lot of people a heavily competitive environment can be a strain."
4+
ignorecase: true
5+
level: suggestion
6+
tokens:
7+
- 'compete'
8+
- 'competition'
9+
- 'competitive'
10+
- 'cutting[ -]edge'
11+
- 'fail'
12+
- 'fore[ -]*front'
13+
- 'super[ -]*stars?'
14+
- 'the best'
15+
- 'reach the top'
16+
- 'top of .{2,8} (?:game|class)'
17+
- 'win'
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
extends: existence
2+
message: "Avoid using '%s'"
3+
description: "When you use '%s,' you're being discriminatory."
4+
ignorecase: true
5+
level: error
6+
tokens:
7+
- 'bia?tch(?:es)?'
8+
- 'bimbos?'
9+
- 'hoes?'
10+
- 'hunks?'
11+
- 'milfs?'
12+
- 'slags?'
13+
- 'sluts?'
14+
- 'stallions?'
15+
- 'studs?'
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
extends: existence
2+
message: "Don't specify a development environment unless absolutely necessary."
3+
ignorecase: true
4+
level: suggestion
5+
tokens:
6+
- 'atom'
7+
- 'bb[ -]*edit'
8+
- 'dream[ -]*weaver'
9+
- 'eclipse'
10+
- 'emacs'
11+
- 'net[ -]*beans'
12+
- 'note[ -]*pad'
13+
- 'sublime[ -]*text'
14+
- 'text[ -]*wrangler'
15+
- 'text[ -]*mate'
16+
- 'vim?'
17+
- 'visual[ -]*studio'
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
extends: existence
2+
message: "Avoid using '%s'"
3+
description: "Referring to tech people as '%s' devalues the work that they do and shows a lack of respect and professionalism."
4+
ignorecase: true
5+
level: warning
6+
tokens:
7+
- 'gurus?'
8+
- 'hero(?:es|ic)?'
9+
- 'ninjas?'
10+
- 'rock[ -]*stars?'
11+
- 'super[ -]*stars?'
12+
- 'badass(?:es)?'
13+
- 'BAMF'
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
extends: existence
2+
message: "Avoid using '%s'"
3+
description: "Use of '%s' could indicate that you're discriminating in favour of a certain gender."
4+
ignorecase: true
5+
level: error
6+
tokens:
7+
- 'boys?'
8+
- 'bros?'
9+
- 'broth(?:a|er)s?'
10+
- 'chicks?'
11+
- 'dads?'
12+
- 'dudes?'
13+
- 'fathers?'
14+
- 'females?'
15+
- 'gentlem[ae]n'
16+
- 'girls?'
17+
- 'grandfathers?'
18+
- 'grandmas?'
19+
- 'grandmothers?'
20+
- 'grandpas?'
21+
- 'gran'
22+
- 'grann(?:y|ies)'
23+
- 'guys?'
24+
- 'husbands?'
25+
- 'lad(y|ies)?'
26+
- 'm[ae]n'
27+
- 'm[ou]ms?'
28+
- 'males?'
29+
- 'momm(?:y|ies)'
30+
- 'mommas?'
31+
- 'mothers?'
32+
- 'papas?'
33+
- 'sist(?:a|er)s?'
34+
- 'wi(?:fe|ves)'
35+
- 'wom[ae]n'
36+
- he
37+
- her
38+
- him
39+
- his
40+
- she

0 commit comments

Comments
 (0)