Skip to content

Commit

Permalink
docs(lint): add airbnb linter
Browse files Browse the repository at this point in the history
  • Loading branch information
ibrahimborba committed May 20, 2022
1 parent f50e178 commit 46403bd
Show file tree
Hide file tree
Showing 4 changed files with 35,132 additions and 16,641 deletions.
25 changes: 25 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"env": {
"browser": true,
"es2021": true,
"node": true
},
"extends": [
"plugin:react/recommended",
"airbnb"
],
"parserOptions": {
"ecmaFeatures": {
"jsx": true
},
"ecmaVersion": "latest",
"sourceType": "module"
},
"plugins": [
"react"
],
"rules": {
"react/prefer-stateless-function": "off",
"react/jsx-props-no-spreading": "off"
}
}
3 changes: 3 additions & 0 deletions .stylelintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"extends": "stylelint-config-airbnb"
}
Loading

0 comments on commit 46403bd

Please sign in to comment.