Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(configurations): move import extension eslint rule to local env #459

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,13 @@
"project": "./tsconfig.json"
},
"rules": {
"@typescript-eslint/no-namespace": 0
"@typescript-eslint/no-namespace": 0,
"import/extensions": ["error", "always"]
},
"ignorePatterns": [
"packages/**/lib",
"packages/**/scripts",
"*.config.js",
"__test__",
"*.md"
] // .eslintignore resolves relative to working dir, this is needed to ignore files in workspaces
Expand Down
1 change: 0 additions & 1 deletion packages/configurations/typescript.eslint-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ module.exports = {
extraFileExtensions: ['.html'],
},
rules: {
'import/extensions': ['error', 'always'],
'@typescript-eslint/unbound-method': 0,
'valid-jsdoc': [
2,
Expand Down
1 change: 1 addition & 0 deletions packages/elements/.eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"project": "./tsconfig.json"
},
"ignorePatterns": [
"cli.js",
"./**/__demo__",
"./**/__test__/**",
"./**/__snapshots__/**"
Expand Down