Skip to content

Commit

Permalink
MNT Fix yarn lint script (#464)
Browse files Browse the repository at this point in the history
  • Loading branch information
GuySartorelli authored Jul 19, 2022
1 parent c504bfc commit 60fb9cb
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 5 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
/node_modules/
yarn-error.log
5 changes: 1 addition & 4 deletions .sass-lint.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
# sass-lint config to match the AirBNB style guide
# See silverstripe-admin
files:
include: '**/client/src/**/*.scss'
ignore:
- 'client/src/styles/legacy/*'
- 'src/**/*'
include: 'client/src/**/*.scss'
options:
formatter: stylish
merge-default-rules: false
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
"devDependencies": {
"@silverstripe/webpack-config": "^0.5.1",
"eslint": "^2.7.0",
"eslint-config-airbnb": "^6.2.0"
"eslint-config-airbnb": "^6.2.0",
"eslint-plugin-react": "^4.2.3"
}
}
5 changes: 5 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1647,6 +1647,11 @@ eslint-config-airbnb@^6.2.0:
version "6.2.0"
resolved "https://registry.yarnpkg.com/eslint-config-airbnb/-/eslint-config-airbnb-6.2.0.tgz#4a28196aa4617de01b8c914e992a82e5d0886a6e"

eslint-plugin-react@^4.2.3:
version "4.3.0"
resolved "https://registry.yarnpkg.com/eslint-plugin-react/-/eslint-plugin-react-4.3.0.tgz#c79aac8069d62de27887c13b8298d592088de378"
integrity sha512-ajQ9S74FUln2GcwgpPUQqRLcT6UFDhvAMIiDX4F68tDnuihNXcAA7LI19MmRGGOuJnpMVDXugJg+wf9K+bf6kg==

eslint@^2.7.0:
version "2.13.1"
resolved "https://registry.yarnpkg.com/eslint/-/eslint-2.13.1.tgz#e4cc8fa0f009fb829aaae23855a29360be1f6c11"
Expand Down

0 comments on commit 60fb9cb

Please sign in to comment.