Skip to content

Commit

Permalink
(chore) updating tools
Browse files Browse the repository at this point in the history
  • Loading branch information
katallaxie committed Jun 2, 2020
1 parent d586a3b commit dfbee8a
Show file tree
Hide file tree
Showing 14 changed files with 824 additions and 413 deletions.
25 changes: 25 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
module.exports = {
parser: "@typescript-eslint/parser",
extends: [
"plugin:@typescript-eslint/recommended",
"prettier/@typescript-eslint",
"plugin:prettier/recommended",
],
settings: {
react: {
version: "detect", // Tells eslint-plugin-react to automatically detect the version of React to use
},
},
globals: {
Atomics: "readonly",
SharedArrayBuffer: "readonly",
},
parserOptions: {
ecmaVersion: 2020, // Allows for the parsing of modern ECMAScript features
sourceType: "module", // Allows for the use of imports
ecmaFeatures: {
jsx: true, // Allows for the parsing of JSX
},
},
rules: {},
};
22 changes: 0 additions & 22 deletions .eslintrc.json

This file was deleted.

11 changes: 11 additions & 0 deletions .lintstagedrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
module.exports = {
// Prettier
'**/*.{md}': ['prettier --ignore-path .gitignore --write'],

// Eslint
'**/*.{ts,tsx}': ['eslint --fix'],

// Jest
'**/*.test.{ml,mli,mly,ts,js,json}': 'jest',
}

10 changes: 0 additions & 10 deletions .prettierrc

This file was deleted.

4 changes: 3 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
{
"editor.formatOnSave": true,
"editor.codeActionsOnSave": {
"source.fixAll": true
},
"search.exclude": {
"**/node_modules": true,
"**/bower_components": true,
Expand Down
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,7 @@ All notable changes to this project will be documented in this file. See [standa
## Features

#12, #13 Supporting more input parameters
#17 Use stack name to filter for current stack
#23 Output to GitHub actions

## Bug Fixes
Loading

0 comments on commit dfbee8a

Please sign in to comment.