Skip to content

Commit 6be63b9

Browse files
tiagoloureirosrtab
authored andcommitted
added eslint
1 parent f8ddaf3 commit 6be63b9

File tree

3 files changed

+157
-10
lines changed

3 files changed

+157
-10
lines changed

.eslintrc.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"extends": ["eslint:recommended", "prettier"],
3+
"plugins": ["prettier"],
4+
"env": { "es6": true, "node": true },
5+
"rules": {
6+
"simple-import-sort/imports": "error",
7+
"simple-import-sort/exports": "error",
8+
"no-console": ["error", { "allow": ["warn", "error"] }],
9+
"prettier/prettier": "error"
10+
},
11+
"ignorePatterns": ["node_modules"]
12+
}

package-lock.json

Lines changed: 140 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,12 @@
3636
"lint-staged": "15.2.0",
3737
"prettier": "3.2.2"
3838
},
39+
"peerDependencies": {
40+
"stylelint": "^16.0.0"
41+
},
3942
"dependencies": {
43+
"stylelint-config-prettier-scss": "1.0.0",
44+
"stylelint-config-standard-scss": "13.0.0",
4045
"stylelint-order": "6.0.4"
4146
}
4247
}

0 commit comments

Comments
 (0)