Skip to content

Commit 252788e

Browse files
Copilotalexr00
andcommitted
Integrate ESLint rule into main configuration
Co-authored-by: alexr00 <38270282+alexr00@users.noreply.github.com>
1 parent 2269868 commit 252788e

File tree

4 files changed

+3
-37
lines changed

4 files changed

+3
-37
lines changed
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@ module.exports = {
2020
plugins: ['rulesdir'],
2121
overrides: [
2222
{
23-
files: ['webviews/common/context.tsx'],
23+
files: ['webviews/**/*.ts', 'webviews/**/*.tsx'],
2424
rules: {
2525
'rulesdir/public-methods-well-defined-types': 'error'
2626
}
2727
}
2828
]
29-
};
29+
};

.eslintrc.json

Lines changed: 0 additions & 10 deletions
This file was deleted.

.eslintrc.local.js

Lines changed: 0 additions & 24 deletions
This file was deleted.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4031,7 +4031,7 @@
40314031
"compile:test": "tsc -p tsconfig.test.json",
40324032
"compile:node": "webpack --mode development --config-name extension:node --config-name webviews",
40334033
"compile:web": "webpack --mode development --config-name extension:webworker --config-name webviews",
4034-
"lint": "eslint --fix --cache --config .eslintrc.json --ignore-pattern src/env/browser/**/* \"{src,webviews}/**/*.{ts,tsx}\"",
4034+
"lint": "eslint --fix --cache --config .eslintrc.js --ignore-pattern src/env/browser/**/* \"{src,webviews}/**/*.{ts,tsx}\"",
40354035
"lint:browser": "eslint --fix --cache --cache-location .eslintcache.browser --config .eslintrc.browser.json --ignore-pattern src/env/node/**/* \"{src,webviews}/**/*.{ts,tsx}\"",
40364036
"package": "npx vsce package --yarn",
40374037
"test": "yarn run test:preprocess && node ./out/src/test/runTests.js",

0 commit comments

Comments
 (0)