Skip to content

Commit

Permalink
[ms-2070] add eslint and stylelint ignore files + css to scss index f…
Browse files Browse the repository at this point in the history
…ile change (#37)

* [ms-2070] change css to scss index file and fix syntax
* [ms-2070] add eslint and stylelint ignore files
  • Loading branch information
Class66 committed Mar 18, 2021
1 parent 6a6579a commit 78481d1
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 13 deletions.
4 changes: 4 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
node_modules
public
Johnny-Five
images
.vscode
8 changes: 4 additions & 4 deletions .eslintrc.js → .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module.exports = {
{
"extends": "react-app",
"globals": {
"render": true,
Expand All @@ -8,7 +8,7 @@ module.exports = {
"env": {
"browser": true,
"jest": true,
"node": true,
"node": true
},
"plugins": [
"react-hooks"
Expand Down Expand Up @@ -47,7 +47,7 @@ module.exports = {
"jsx-a11y/label-has-for": "off",
"jsx-a11y/label-has-associated-control": [2, {
"controlComponents": ["Input"],
"depth": 3,
"depth": 3
}]
},
}
}
5 changes: 5 additions & 0 deletions .stylelintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
node_modules
public
Johnny-Five
images
.vscode
18 changes: 9 additions & 9 deletions .stylelintrc.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"extends": "stylelint-config-standard",
"plugins": [
"stylelint-scss"
],
"rules": {
"indentation": 2,
"at-rule-no-unknown": null,
"scss/at-rule-no-unknown": true
}
"extends": "stylelint-config-standard",
"plugins": [
"stylelint-scss"
],
"rules": {
"indentation": 2,
"at-rule-no-unknown": null,
"scss/at-rule-no-unknown": true
}
}

0 comments on commit 78481d1

Please sign in to comment.