Skip to content

Commit

Permalink
update conflicted rules
Browse files Browse the repository at this point in the history
  • Loading branch information
korywka committed Feb 8, 2021
1 parent 4aa5114 commit dc4aec9
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 5 deletions.
10 changes: 8 additions & 2 deletions eslint-config-base/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -150,9 +150,15 @@ module.exports = {
groups: ['builtin', 'external', 'parent', 'sibling', 'index'],
pathGroups: [
{
pattern: '*.+(png|svg|scss|sass|css)',
pattern: '*.+(png|svg)',
group: 'sibling',
patternOptions: { matchBase: true }, // options: https://github.com/isaacs/minimatch
patternOptions: { matchBase: true },
position: 'after',
},
{
pattern: '*.+(scss|sass|css)',
group: 'sibling',
patternOptions: { matchBase: true },
position: 'after',
},
],
Expand Down
2 changes: 1 addition & 1 deletion eslint-config-base/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@macpaw/eslint-config-base",
"version": "0.0.11",
"version": "0.0.12",
"main": "index.js",
"scripts": {
"version:patch": "yarn version --patch --no-git-tag-version",
Expand Down
1 change: 1 addition & 0 deletions eslint-config-react/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ module.exports = {
},
rules: {
'jsx-quotes': ['error', 'prefer-double'],
'jsx-a11y/no-autofocus': 0,
'react/prop-types': 0,
'react/display-name': 0,
'react/jsx-max-props-per-line': ['error', { 'maximum': 1, 'when': 'multiline' }],
Expand Down
2 changes: 1 addition & 1 deletion eslint-config-react/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@macpaw/eslint-config-react",
"version": "0.0.11",
"version": "0.0.12",
"main": "index.js",
"scripts": {
"version:patch": "yarn version --patch --no-git-tag-version",
Expand Down
2 changes: 2 additions & 0 deletions eslint-config-typescript/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ module.exports = {
'@typescript-eslint',
],
rules: {
'@typescript-eslint/ban-ts-comment': 0,
'@typescript-eslint/no-non-null-assertion': 0,
'@typescript-eslint/no-use-before-define': ['error', { 'functions': false }],
'@typescript-eslint/member-delimiter-style': ['error', {
'multiline': {
Expand Down
2 changes: 1 addition & 1 deletion eslint-config-typescript/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@macpaw/eslint-config-typescript",
"version": "0.0.11",
"version": "0.0.12",
"main": "index.js",
"scripts": {
"version:patch": "yarn version --patch --no-git-tag-version",
Expand Down

0 comments on commit dc4aec9

Please sign in to comment.