Skip to content

Commit

Permalink
feat: add airbnb typescript
Browse files Browse the repository at this point in the history
  • Loading branch information
jonataswalker committed Mar 7, 2022
1 parent 7b121b5 commit 38cd169
Show file tree
Hide file tree
Showing 3 changed files with 111 additions and 84 deletions.
181 changes: 101 additions & 80 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "eslint-config-jwalker",
"version": "7.1.0",
"version": "7.2.0",
"description": "Shareable framework-agnostic ESLint config",
"author": "Jonatas Walker",
"homepage": "https://github.com/jonataswalker/eslint-config-jwalker",
Expand All @@ -22,9 +22,10 @@
"prepare": "husky install"
},
"dependencies": {
"@typescript-eslint/eslint-plugin": "^5.13.0",
"@typescript-eslint/parser": "^5.13.0",
"@typescript-eslint/eslint-plugin": "^5.14.0",
"@typescript-eslint/parser": "^5.14.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-airbnb-typescript": "^16.1.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-array-func": "^3.1.7",
"eslint-plugin-eslint-comments": "^3.2.0",
Expand Down
7 changes: 6 additions & 1 deletion ts.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,12 @@ module.exports = {
overrides: [
{
files: ['*.ts', '*.tsx'],
extends: ['plugin:import/typescript', 'plugin:@typescript-eslint/recommended', 'jwalker/ts-for-js'],
extends: [
'airbnb-typescript',
'plugin:import/typescript',
'plugin:@typescript-eslint/recommended',
'jwalker/ts-for-js',
],
plugins: ['import'],
rules: {
'@typescript-eslint/no-magic-numbers': [
Expand Down

0 comments on commit 38cd169

Please sign in to comment.