Skip to content

Commit 0634a6b

Browse files
authored
chore(deps): upgrade eslint-config-airbnb and @typescript-eslint (#98)
1 parent af5503b commit 0634a6b

File tree

5 files changed

+1605
-1594
lines changed

5 files changed

+1605
-1594
lines changed

README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# eslint-config-airbnb-typescript-prettier
22

33
[![npm version][npm-image]][npm-url]
4-
[![build status][circleci-image]][circleci-url]
4+
[![Check Projects](https://github.com/toshi-toma/eslint-config-airbnb-typescript-prettier/actions/workflows/check.yml/badge.svg)](https://github.com/toshi-toma/eslint-config-airbnb-typescript-prettier/actions/workflows/check.yml)
55
![License][license]
66

77
Airbnb's ESLint config with TypeScript and Prettier support.
@@ -28,5 +28,3 @@ Open source [licensed as MIT](https://github.com/toshi-toma/eslint-config-airbnb
2828
[npm-image]: https://img.shields.io/npm/v/eslint-config-airbnb-typescript-prettier.svg
2929
[npm-url]: https://npmjs.org/package/eslint-config-airbnb-typescript-prettier
3030
[license]: https://img.shields.io/npm/l/eslint-config-airbnb-typescript-prettier.svg
31-
[circleci-image]: https://circleci.com/gh/toshi-toma/eslint-config-airbnb-typescript-prettier.svg?style=shield
32-
[circleci-url]: https://circleci.com/gh/toshi-toma/eslint-config-airbnb-typescript-prettier

index.js

Lines changed: 9 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,16 @@
11
module.exports = {
22
parser: "@typescript-eslint/parser",
3-
parserOptions: {
4-
sourceType: "module",
5-
project: "./tsconfig.json",
6-
ecmaFeatures: {
7-
jsx: true
8-
}
9-
},
103
env: {
114
browser: true,
12-
es6: true
5+
es6: true,
136
},
147
extends: [
158
"airbnb",
169
"airbnb/hooks",
1710
"plugin:@typescript-eslint/recommended",
1811
"prettier",
1912
"prettier/react",
20-
"prettier/@typescript-eslint"
13+
"prettier/@typescript-eslint",
2114
],
2215
plugins: ["react", "jsx-a11y", "import", "prettier", "@typescript-eslint"],
2316
globals: {},
@@ -45,16 +38,16 @@ module.exports = {
4538
mjs: "never",
4639
jsx: "never",
4740
ts: "never",
48-
tsx: "never"
49-
}
50-
]
41+
tsx: "never",
42+
},
43+
],
5144
},
5245
settings: {
5346
"import/resolver": {
5447
node: {
55-
extensions: [".js", ".ts", ".jsx", ".tsx", ".json"]
56-
}
48+
extensions: [".js", ".ts", ".jsx", ".tsx", ".json"],
49+
},
5750
},
58-
"import/extensions": [".js", ".ts", ".mjs", ".jsx", ".tsx"]
59-
}
51+
"import/extensions": [".js", ".ts", ".mjs", ".jsx", ".tsx"],
52+
},
6053
};

0 commit comments

Comments
 (0)