Skip to content

Commit

Permalink
Merge pull request #8 from owowagency/basic-quote-rule
Browse files Browse the repository at this point in the history
Changed the quote props rule to as needed
  • Loading branch information
polinaowow authored Jun 30, 2023
2 parents 4d7ffab + 8f0ed22 commit 98bd684
Show file tree
Hide file tree
Showing 10 changed files with 20 additions and 20 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,14 @@ jobs:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
NPM_TOKEN: ${{secrets.NPM_TOKEN}}

- name: 🏃 Setup Node
uses: actions/setup-node@v3
with:
node-version: 18.x
cache: pnpm
registry-url: 'https://npm.pkg.github.com'

- run: pnpm publish -r --no-git-checks --access=public
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@owowagency/eslint-config",
"version": "0.1.12",
"version": "0.1.13",
"license": "MIT",
"private": true,
"peerDependencies": {
Expand Down
16 changes: 8 additions & 8 deletions packages/eslint-config-basic/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -214,10 +214,10 @@ module.exports = {
'import/newline-after-import': 'error',

// Common
'semi': ['error', 'always'],
'curly': ['error', 'all'],
'quotes': ['error', 'single'],
'quote-props': ['error', 'consistent-as-needed'],
semi: ['error', 'always'],
curly: ['error', 'all'],
quotes: ['error', 'single'],
'quote-props': ['error', 'as-needed'],

'unused-imports/no-unused-imports': 'error',
'unused-imports/no-unused-vars': [
Expand All @@ -229,7 +229,7 @@ module.exports = {
'array-bracket-spacing': ['error', 'never'],
'brace-style': ['error', '1tbs'],
'block-spacing': ['error', 'always'],
'camelcase': 'off',
camelcase: 'off',
'comma-spacing': ['error', { before: false, after: true }],
'comma-style': ['error', 'last'],
'comma-dangle': ['error', 'always-multiline'],
Expand All @@ -239,7 +239,7 @@ module.exports = {
'no-cond-assign': ['error', 'always'],
'func-call-spacing': ['off', 'never'],
'key-spacing': ['error', { beforeColon: false, afterColon: true }],
'indent': ['error', 4, { SwitchCase: 1, VariableDeclarator: 1, outerIIFEBody: 1 }],
indent: ['error', 4, { SwitchCase: 1, VariableDeclarator: 1, outerIIFEBody: 1 }],
'no-restricted-syntax': [
'error',
'DebuggerStatement',
Expand Down Expand Up @@ -304,8 +304,8 @@ module.exports = {
'array-callback-return': 'error',
'block-scoped-var': 'error',
'consistent-return': 'off',
'complexity': ['off', 11],
'eqeqeq': ['error', 'smart'],
complexity: ['off', 11],
eqeqeq: ['error', 'smart'],
'no-alert': 'warn',
'no-case-declarations': 'error',
'no-multi-spaces': 'error',
Expand Down
2 changes: 1 addition & 1 deletion packages/eslint-config-basic/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@owowagency/eslint-config-basic",
"version": "0.1.12",
"version": "0.1.13",
"description": "",
"license": "MIT",
"homepage": "https://github.com/owowagency/eslint-config",
Expand Down
2 changes: 1 addition & 1 deletion packages/eslint-config-cypress-basic/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@owowagency/eslint-config-cypress-basic",
"version": "0.1.12",
"version": "0.1.13",
"description": "",
"license": "MIT",
"homepage": "https://github.com/owowagency/eslint-config",
Expand Down
2 changes: 1 addition & 1 deletion packages/eslint-config-cypress-ts/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@owowagency/eslint-config-cypress-ts",
"version": "0.1.12",
"version": "0.1.13",
"description": "",
"license": "MIT",
"homepage": "https://github.com/owowagency/eslint-config",
Expand Down
2 changes: 1 addition & 1 deletion packages/eslint-config-react/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@owowagency/eslint-config-react",
"version": "0.1.12",
"version": "0.1.13",
"description": "",
"license": "MIT",
"homepage": "https://github.com/owowagency/eslint-config",
Expand Down
6 changes: 3 additions & 3 deletions packages/eslint-config-ts/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ module.exports = {

// Override JS
'no-useless-constructor': 'off',
'indent': 'off',
indent: 'off',
'@typescript-eslint/indent': ['error', 4, {
SwitchCase: 1,
VariableDeclarator: 1,
Expand Down Expand Up @@ -74,9 +74,9 @@ module.exports = {
'@typescript-eslint/comma-dangle': ['error', 'always-multiline'],
'object-curly-spacing': 'off',
'@typescript-eslint/object-curly-spacing': ['error', 'always'],
'semi': 'off',
semi: 'off',
'@typescript-eslint/semi': ['error', 'always'],
'quotes': 'off',
quotes: 'off',
'@typescript-eslint/quotes': ['error', 'single'],
'space-before-blocks': 'off',
'@typescript-eslint/space-before-blocks': ['error', 'always'],
Expand Down
2 changes: 1 addition & 1 deletion packages/eslint-config-ts/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@owowagency/eslint-config-ts",
"version": "0.1.12",
"version": "0.1.13",
"description": "",
"license": "MIT",
"homepage": "https://github.com/owowagency/eslint-config",
Expand Down
2 changes: 1 addition & 1 deletion packages/eslint-config-vue/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@owowagency/eslint-config-vue",
"version": "0.1.12",
"version": "0.1.13",
"description": "",
"license": "MIT",
"keywords": [
Expand Down

0 comments on commit 98bd684

Please sign in to comment.