Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
3y3 committed Aug 11, 2024
1 parent 41a92d2 commit fed2c2a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bin/lint
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ done

if [[ -n "$INIT$UPDATE" ]]; then
echo "[@diplodoc/lint] Add initial lint configs"
cp -r "$SRCDIR/scaffolding/" .
cp -r "$SRCDIR/scaffolding/" ./

echo "[@diplodoc/lint] Extend .ignore configuration"
node "$SRCDIR/scripts/modify-ignore.js"
Expand Down
7 changes: 6 additions & 1 deletion eslint-common-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,12 @@ module.exports = {
process.env.npm_command && '@gravity-ui/eslint-config/prettier',
].filter(Boolean),
overrides: [{
files: ['.eslintrc.js'],
files: [
'.eslintrc.js',
'.prettierrc.js',
'.stylelintrc.js',
'.lintstagedrc.js',
],
env: {
node: true,
},
Expand Down

0 comments on commit fed2c2a

Please sign in to comment.