Skip to content
This repository has been archived by the owner on Oct 18, 2022. It is now read-only.

Commit

Permalink
fix: updates to react-scripts 5 (#210)
Browse files Browse the repository at this point in the history
  • Loading branch information
cujarrett authored Dec 24, 2021
1 parent c10980a commit 5d9906a
Show file tree
Hide file tree
Showing 11 changed files with 15,410 additions and 22,490 deletions.
3 changes: 3 additions & 0 deletions .commitlintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"extends": ["@commitlint/config-conventional"]
}
32 changes: 10 additions & 22 deletions .eslintrc.js → .eslintrc
Original file line number Diff line number Diff line change
@@ -1,33 +1,22 @@
module.exports = {
"env": {
"browser": true,
"es6": true,
"node": true,
"jest": true
},
{
"parser": "@babel/eslint-parser",
"extends": [
"eslint:recommended",
"plugin:react/recommended"
],
"plugins": [
"react", "react-hooks"
],
"parser": "babel-eslint",
"parserOptions": {
"ecmaVersion": 8,
"ecmaFeatures": {
"experimentalObjectRestSpread": true,
"jsx": true
},
"sourceType": "module"
"babelOptions": {
"presets": ["@babel/preset-react"]
}
},
"settings": {
"react": {
"createClass": "createReactClass",
"pragma": "React",
"version": "16.6.1"
"version": "detect"
}
},
"env": {
"browser": true,
"jest": true
},
"rules": {
"array-callback-return": [
"error"
Expand Down Expand Up @@ -102,7 +91,6 @@ module.exports = {
2,
{ "ignoredNodes": ["JSXElement"] }
],
"react/jsx-indent": ["error", 2],
"keyword-spacing": [
"error",
{
Expand Down
21 changes: 21 additions & 0 deletions .releaserc
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"branches": ["main"],
"tagFormat": "v${version}",
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
[
"@semantic-release/changelog",
{
"changelogTitle": "# Changelog\nAll notable changes to this project will be documented in this file. This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html)."
}
],
["@semantic-release/npm", { "npmPublish": false }],
"@semantic-release/git",
"@semantic-release/github",
["@semantic-release/exec", {
"verifyReleaseCmd": "echo \"VERSION=${nextRelease.version}\" > RELEASE.env"
}]
],
"debug": true
}
5 changes: 5 additions & 0 deletions babel.config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"presets": [
[ "@babel/preset-env" ]
]
}
3 changes: 0 additions & 3 deletions commitlint.config.js

This file was deleted.

Loading

0 comments on commit 5d9906a

Please sign in to comment.