Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 0 additions & 37 deletions .circleci/config.yml

This file was deleted.

31 changes: 31 additions & 0 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# This workflow will do a clean install of node dependencies, cache/restore them, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions

name: Check Projects

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
build:

runs-on: ubuntu-latest

strategy:
matrix:
node-version: [12.x, 14.x, 16.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/

steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- name: npm ci, and npm test
run: |
npm ci
npm test
28 changes: 28 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,34 @@

All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.

## [5.0.0](https://github.com/toshi-toma/eslint-config-airbnb-typescript-prettier/compare/v4.2.0...v5.0.0) (2021-12-12)

### ⚠ BREAKING CHANGES

* Update dependencies
* `eslint-config-airbnb`
* `v18.2.1` to `v19.0.2`
* `@typescript-eslint`
* `v4.7.0` to `v5.6.0`
* `eslint(peerDependencies)`
* `"^5.16.0 || ^6.8.0 || ^7.2.0"` to `"^7.32.0 || ^8.2.0"`

### Features

* **deps:** upgrade `eslint-config-airbnb` and `[@typescript-eslint](https://github.com/typescript-eslint)` ([#98](https://github.com/toshi-toma/eslint-config-airbnb-typescript-prettier/issues/98)) ([43729d8](https://github.com/toshi-toma/eslint-config-airbnb-typescript-prettier/commit/43729d8517decfa25b1e1c7e2f24229ce9152ffa))

## [4.2.0](https://github.com/toshi-toma/eslint-config-airbnb-typescript-prettier/compare/v4.1.0...v4.2.0) (2021-03-16)


### Features

* Update TypeScript Support. ([#82](https://github.com/toshi-toma/eslint-config-airbnb-typescript-prettier/issues/82)) ([91e73b3](https://github.com/toshi-toma/eslint-config-airbnb-typescript-prettier/commit/91e73b38bf5b778a7989a1d3c4e3759bdb35e09e))


### Bug Fixes

* use no-shadow of [@typescript-eslint](https://github.com/typescript-eslint) instead of base rule ([#71](https://github.com/toshi-toma/eslint-config-airbnb-typescript-prettier/issues/71)) ([319683c](https://github.com/toshi-toma/eslint-config-airbnb-typescript-prettier/commit/319683cd43500e73140faae765bb88d0399ba6f3))

## [4.1.0](https://github.com/toshi-toma/eslint-config-airbnb-typescript-prettier/compare/v3.1.0...v4.1.0) (2020-11-21)


Expand Down
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