Skip to content

Commit 9483efc

Browse files
authored
Merge pull request #125 from atom-community/prettier
2 parents d59095e + da03d5b commit 9483efc

Some content is hidden

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

55 files changed

+5304
-3784
lines changed

.eslintrc.json

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,5 @@
11
{
2-
"root": true,
3-
"parser": "@typescript-eslint/parser",
4-
"plugins": [
5-
"@typescript-eslint"
6-
],
7-
"extends": [
8-
"eslint:recommended",
9-
"plugin:@typescript-eslint/eslint-recommended",
10-
"plugin:@typescript-eslint/recommended"
11-
],
2+
"extends": "eslint-config-atomic/strict",
123
"ignorePatterns": ["build/", "node_modules/"],
134
"rules": {
145
"@typescript-eslint/ban-types": [
@@ -27,8 +18,6 @@
2718
],
2819
"@typescript-eslint/no-empty-function": "off",
2920
"@typescript-eslint/no-explicit-any": "off",
30-
"@typescript-eslint/no-inferrable-types": "off",
31-
"@typescript-eslint/no-non-null-assertion": "off",
3221
"@typescript-eslint/no-unused-vars": [
3322
"error",
3423
{

.github/workflows/CI.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@ jobs:
5050
- name: Install dependencies
5151
run: pnpm install
5252

53-
# - name: Format ✨
54-
# run: pnpm test.format
53+
- name: Format ✨
54+
run: pnpm test.format
5555

5656
- name: Lint ✨
5757
run: pnpm test.lint

.github/workflows/bump_deps.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
with:
1414
node-version: "12"
1515
- name: Setup PNPM
16-
uses: pnpm/[email protected].2
16+
uses: pnpm/[email protected].1
1717
with:
1818
version: latest
1919

@@ -24,7 +24,6 @@ jobs:
2424
ncu -u --dep prod
2525
pnpm install
2626
27-
2827
- uses: tibdex/github-app-token@v1
2928
id: generate-token
3029
with:
@@ -38,7 +37,6 @@ jobs:
3837
labels: Dependencies
3938
branch: "Bump_Dependencies"
4039

41-
4240
Bump_devDependencies:
4341
runs-on: ubuntu-latest
4442
steps:
@@ -47,7 +45,7 @@ jobs:
4745
with:
4846
node-version: "12"
4947
- name: Setup PNPM
50-
uses: pnpm/[email protected].2
48+
uses: pnpm/[email protected].1
5149
with:
5250
version: latest
5351

.github/workflows/codeql-analysis.yml

Lines changed: 35 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ on:
1212
# The branches below must be a subset of the branches above
1313
branches: [master]
1414
schedule:
15-
- cron: '0 9 * * 3'
15+
- cron: "0 9 * * 3"
1616

1717
jobs:
1818
analyze:
@@ -24,48 +24,48 @@ jobs:
2424
matrix:
2525
# Override automatic language detection by changing the below list
2626
# Supported options are ['csharp', 'cpp', 'go', 'java', 'javascript', 'python']
27-
language: ['javascript']
27+
language: ["javascript"]
2828
# Learn more...
2929
# https://docs.github.com/en/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#overriding-automatic-language-detection
3030

3131
steps:
32-
- name: Checkout repository
33-
uses: actions/checkout@v2
34-
with:
35-
# We must fetch at least the immediate parents so that if this is
36-
# a pull request then we can checkout the head.
37-
fetch-depth: 2
32+
- name: Checkout repository
33+
uses: actions/checkout@v2
34+
with:
35+
# We must fetch at least the immediate parents so that if this is
36+
# a pull request then we can checkout the head.
37+
fetch-depth: 2
3838

39-
# If this run was triggered by a pull request event, then checkout
40-
# the head of the pull request instead of the merge commit.
41-
- run: git checkout HEAD^2
42-
if: ${{ github.event_name == 'pull_request' }}
39+
# If this run was triggered by a pull request event, then checkout
40+
# the head of the pull request instead of the merge commit.
41+
- run: git checkout HEAD^2
42+
if: ${{ github.event_name == 'pull_request' }}
4343

44-
# Initializes the CodeQL tools for scanning.
45-
- name: Initialize CodeQL
46-
uses: github/codeql-action/init@v1
47-
with:
48-
languages: ${{ matrix.language }}
49-
# If you wish to specify custom queries, you can do so here or in a config file.
50-
# By default, queries listed here will override any specified in a config file.
51-
# Prefix the list here with "+" to use these queries and those in the config file.
52-
# queries: ./path/to/local/query, your-org/your-repo/queries@main
44+
# Initializes the CodeQL tools for scanning.
45+
- name: Initialize CodeQL
46+
uses: github/codeql-action/init@v1
47+
with:
48+
languages: ${{ matrix.language }}
49+
# If you wish to specify custom queries, you can do so here or in a config file.
50+
# By default, queries listed here will override any specified in a config file.
51+
# Prefix the list here with "+" to use these queries and those in the config file.
52+
# queries: ./path/to/local/query, your-org/your-repo/queries@main
5353

54-
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
55-
# If this step fails, then you should remove it and run the build manually (see below)
56-
- name: Autobuild
57-
uses: github/codeql-action/autobuild@v1
54+
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
55+
# If this step fails, then you should remove it and run the build manually (see below)
56+
- name: Autobuild
57+
uses: github/codeql-action/autobuild@v1
5858

59-
# ℹ️ Command-line programs to run using the OS shell.
60-
# 📚 https://git.io/JvXDl
59+
# ℹ️ Command-line programs to run using the OS shell.
60+
# 📚 https://git.io/JvXDl
6161

62-
# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
63-
# and modify them (or add more) to build your code if your project
64-
# uses a compiled language
62+
# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
63+
# and modify them (or add more) to build your code if your project
64+
# uses a compiled language
6565

66-
#- run: |
67-
# make bootstrap
68-
# make release
66+
#- run: |
67+
# make bootstrap
68+
# make release
6969

70-
- name: Perform CodeQL Analysis
71-
uses: github/codeql-action/analyze@v1
70+
- name: Perform CodeQL Analysis
71+
uses: github/codeql-action/analyze@v1

.prettierignore

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
node_modules
2+
package.json
3+
package-lock.json
4+
pnpm-lock.yaml
5+
coverage
6+
changelog.md
7+
build
8+
dist

0 commit comments

Comments
 (0)