-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
style: add format and standards (#200)
Co-authored-by: Nikita Almanov <[email protected]>
- Loading branch information
1 parent
504cd2c
commit 99af3ac
Showing
6 changed files
with
50 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -41,4 +41,4 @@ jobs: | |
run: npm ci | ||
|
||
- name: Lint | ||
run: npm run lint:markdown | ||
run: npm run lint:md |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -37,4 +37,4 @@ jobs: | |
run: npm ci | ||
|
||
- name: Lint | ||
run: npm run fix:prettier --check | ||
run: npm run lint:formatting |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
.ecrc | ||
.eslintignore | ||
.gitignore | ||
.prettierignore | ||
*.md |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,30 @@ | ||
export default { | ||
root: true, | ||
env: { | ||
browser: true, | ||
es6: true, | ||
export default [ | ||
{ | ||
root: true, | ||
env: { | ||
browser: true, | ||
es6: true, | ||
}, | ||
parser: '@typescript-eslint/parser', | ||
parserOptions: { | ||
ecmaVersion: 'latest', | ||
project: 'tsconfig.json', | ||
sourceType: 'module', | ||
}, | ||
extends: [ | ||
'airbnb-typescript/base', | ||
'plugin:unicorn/recommended', | ||
'plugin:@typescript-eslint/recommended-type-checked', | ||
], | ||
plugins: ['import', 'unicorn'], | ||
rules: { | ||
'import/exports-last': 'error', | ||
'import/group-exports': 'warn', | ||
'import/no-commonjs': 'error', | ||
'import/no-namespace': 'error', | ||
'import/no-unassigned-import': 'error', | ||
'unicorn/no-unused-properties': 'error', | ||
'unicorn/string-content': 'error', | ||
}, | ||
}, | ||
parser: '@typescript-eslint/parser', | ||
parserOptions: { | ||
ecmaVersion: 'latest', | ||
project: 'tsconfig.json', | ||
sourceType: 'module', | ||
}, | ||
extends: [ | ||
'airbnb-typescript/base', | ||
'plugin:unicorn/recommended', | ||
'plugin:@typescript-eslint/recommended-type-checked', | ||
], | ||
plugins: ['import', 'unicorn'], | ||
rules: { | ||
'import/exports-last': 'error', | ||
'import/group-exports': 'warn', | ||
'import/no-commonjs': 'error', | ||
'import/no-namespace': 'error', | ||
'import/no-unassigned-import': 'error', | ||
'unicorn/no-unused-properties': 'error', | ||
'unicorn/string-content': 'error', | ||
}, | ||
}; | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters