Skip to content

Commit

Permalink
clean up configs folder
Browse files Browse the repository at this point in the history
  • Loading branch information
andreineculau committed Feb 4, 2022
1 parent d15db1b commit e5b4a24
Show file tree
Hide file tree
Showing 23 changed files with 3 additions and 7 deletions.
2 changes: 1 addition & 1 deletion bin/list-configured-overrides-rules
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ source ${DIR}/config.inc.sh

cd ${DIR}/..

eslint --no-eslintrc -c ${DIR}/../configs/${CONFIG}.eslintrc.js --print-config foo.js | \
eslint --no-eslintrc -c ${DIR}/../snapshots.src/${CONFIG}.eslintrc.js --print-config foo.js | \
jq -r ".rules | keys[]" | sort | { grep -v "^${PLUGIN_RULE_PREFIX:-.}" || true; }
2 changes: 1 addition & 1 deletion bin/list-configured-own-rules
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ source ${DIR}/config.inc.sh

cd ${DIR}/..

eslint --no-eslintrc -c ${DIR}/../configs/${CONFIG}.eslintrc.js --print-config foo.js | \
eslint --no-eslintrc -c ${DIR}/../snapshots.src/${CONFIG}.eslintrc.js --print-config foo.js | \
jq -r ".rules | keys[]" | sort | { grep "^${PLUGIN_RULE_PREFIX:-.}" || true; }
2 changes: 1 addition & 1 deletion bin/list-configured-rules
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ source ${DIR}/config.inc.sh

cd ${DIR}/..

eslint --no-eslintrc -c ${DIR}/../configs/${CONFIG}.eslintrc.js --print-config foo.js | \
eslint --no-eslintrc -c ${DIR}/../snapshots.src/${CONFIG}.eslintrc.js --print-config foo.js | \
jq -r ".rules | keys[]" | sort
4 changes: 0 additions & 4 deletions configs/index.js.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,6 @@ let _configData = _.reduce(_configFiles, function(acc, configFile) {
return acc;
}

if (/\.eslintrc\.js$/.test(configFile)) {
return acc;
}

if (/\.extends\.js$/.test(configFile)) {
return acc;
}
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit e5b4a24

Please sign in to comment.