We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5b1acd0 commit a739f08Copy full SHA for a739f08
1 file changed
src/lint/provider.ts
@@ -135,11 +135,12 @@ export class LinterSettings {
135
136
public get fyppEnabled(): boolean {
137
// FIXME: fypp currently works only with gfortran
138
- if (this.compiler !== 'gfortran') {
+ const isEnabled = this.config.get<boolean>('linter.fypp.enabled');
139
+ if (this.compiler !== 'gfortran' && isEnabled) {
140
this.logger.warn(`[lint] fypp currently only supports gfortran.`);
141
return false;
142
}
- return this.config.get<boolean>('linter.fypp.enabled');
143
+ return isEnabled;
144
145
public get fyppPath(): string {
146
return this.config.get<string>('linter.fypp.path');
0 commit comments