Skip to content

Commit

Permalink
chore(deps): upgrade eslint-config-airbnb and @typescript-eslint (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
toshi-toma authored Dec 12, 2021
1 parent af5503b commit 0634a6b
Show file tree
Hide file tree
Showing 5 changed files with 1,605 additions and 1,594 deletions.
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# eslint-config-airbnb-typescript-prettier

[![npm version][npm-image]][npm-url]
[![build status][circleci-image]][circleci-url]
[![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)
![License][license]

Airbnb's ESLint config with TypeScript and Prettier support.
Expand All @@ -28,5 +28,3 @@ Open source [licensed as MIT](https://github.com/toshi-toma/eslint-config-airbnb
[npm-image]: https://img.shields.io/npm/v/eslint-config-airbnb-typescript-prettier.svg
[npm-url]: https://npmjs.org/package/eslint-config-airbnb-typescript-prettier
[license]: https://img.shields.io/npm/l/eslint-config-airbnb-typescript-prettier.svg
[circleci-image]: https://circleci.com/gh/toshi-toma/eslint-config-airbnb-typescript-prettier.svg?style=shield
[circleci-url]: https://circleci.com/gh/toshi-toma/eslint-config-airbnb-typescript-prettier
25 changes: 9 additions & 16 deletions index.js
Original file line number Diff line number Diff line change
@@ -1,23 +1,16 @@
module.exports = {
parser: "@typescript-eslint/parser",
parserOptions: {
sourceType: "module",
project: "./tsconfig.json",
ecmaFeatures: {
jsx: true
}
},
env: {
browser: true,
es6: true
es6: true,
},
extends: [
"airbnb",
"airbnb/hooks",
"plugin:@typescript-eslint/recommended",
"prettier",
"prettier/react",
"prettier/@typescript-eslint"
"prettier/@typescript-eslint",
],
plugins: ["react", "jsx-a11y", "import", "prettier", "@typescript-eslint"],
globals: {},
Expand Down Expand Up @@ -45,16 +38,16 @@ module.exports = {
mjs: "never",
jsx: "never",
ts: "never",
tsx: "never"
}
]
tsx: "never",
},
],
},
settings: {
"import/resolver": {
node: {
extensions: [".js", ".ts", ".jsx", ".tsx", ".json"]
}
extensions: [".js", ".ts", ".jsx", ".tsx", ".json"],
},
},
"import/extensions": [".js", ".ts", ".mjs", ".jsx", ".tsx"]
}
"import/extensions": [".js", ".ts", ".mjs", ".jsx", ".tsx"],
},
};
Loading

0 comments on commit 0634a6b

Please sign in to comment.