Skip to content

Commit

Permalink
Update rules/dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
Yiorgis Gozadinos committed Mar 23, 2021
1 parent 0b789d3 commit 47a9f46
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 1,892 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ jobs:
with:
node-version: 12
registry-url: https://registry.npmjs.org/
- run: npm ci
- run: npm test
- run: yarn
- run: yarn test

publish-npm:
name: Publish
Expand All @@ -27,7 +27,7 @@ jobs:
with:
node-version: 12
registry-url: https://registry.npmjs.org/
- run: npm ci
- run: yarn
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,6 @@ This enables several rules:

* Assume a `browser` environment in all files
* The recommended rules from [eslint-plugin-react](https://www.npmjs.com/package/eslint-plugin-react)
* Enable the `prettier/react` rules


## Command-line tools
Expand Down
1,841 changes: 0 additions & 1,841 deletions package-lock.json

This file was deleted.

43 changes: 0 additions & 43 deletions package.json

This file was deleted.

2 changes: 1 addition & 1 deletion react-native.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module.exports = {
extends: ['plugin:react/recommended', 'prettier/react', 'plugin:react-native/all'],
extends: ['plugin:react/recommended', 'plugin:react-native/all'],
plugins: ['react', 'react-native', 'babel'],
env: {
es6: true,
Expand Down
2 changes: 1 addition & 1 deletion react.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module.exports = {
extends: ['plugin:react/recommended', 'prettier/react'],
extends: ['plugin:react/recommended', 'prettier'],
plugins: ['react', 'babel'],
env: {
es6: true,
Expand Down
3 changes: 1 addition & 2 deletions recommended.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ module.exports = {
'plugin:prettier/recommended',
'eslint:recommended',
'prettier',
'prettier/babel',
'prettier/unicorn',
],
plugins: ['promise', 'unicorn', 'prettier'],
parserOptions: {
Expand All @@ -21,6 +19,7 @@ module.exports = {
'comma-dangle': ['error', 'always-multiline'],
'unicorn/prevent-abbreviations': 0,
'unicorn/filename-case': 'off',
'unicorn/no-null': 'off',
},
overrides: [
{
Expand Down
4 changes: 4 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
# yarn lockfile v1


0 comments on commit 47a9f46

Please sign in to comment.