mirror of https://github.com/vector-im/riot-web
ignore node_modules in e2e tests
parent
744826db48
commit
cda281044d
|
@ -1 +1,4 @@
|
||||||
src/component-index.js
|
src/component-index.js
|
||||||
|
test/end-to-end-tests/node_modules/
|
||||||
|
test/end-to-end-tests/riot/
|
||||||
|
test/end-to-end-tests/synapse/
|
||||||
|
|
|
@ -61,3 +61,7 @@ test/mock-clock.js
|
||||||
test/notifications/ContentRules-test.js
|
test/notifications/ContentRules-test.js
|
||||||
test/notifications/PushRuleVectorState-test.js
|
test/notifications/PushRuleVectorState-test.js
|
||||||
test/stores/RoomViewStore-test.js
|
test/stores/RoomViewStore-test.js
|
||||||
|
src/component-index.js
|
||||||
|
test/end-to-end-tests/node_modules/
|
||||||
|
test/end-to-end-tests/riot/
|
||||||
|
test/end-to-end-tests/synapse/
|
||||||
|
|
|
@ -14,8 +14,10 @@ echo "generating $out"
|
||||||
# autogenerated file: run scripts/generate-eslint-error-ignore-file to update.
|
# autogenerated file: run scripts/generate-eslint-error-ignore-file to update.
|
||||||
|
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
./node_modules/.bin/eslint --no-ignore -f json src test |
|
./node_modules/.bin/eslint -f json src test |
|
||||||
jq -r '.[] | select((.errorCount + .warningCount) > 0) | .filePath' |
|
jq -r '.[] | select((.errorCount + .warningCount) > 0) | .filePath' |
|
||||||
sed -e 's/.*matrix-react-sdk\///';
|
sed -e 's/.*matrix-react-sdk\///';
|
||||||
} > "$out"
|
} > "$out"
|
||||||
|
# also append rules from eslintignore file
|
||||||
|
cat .eslintignore >> $out
|
||||||
|
|
Loading…
Reference in New Issue