Home
last modified time | relevance | path

Searched full:linter (Results 1 – 25 of 94) sorted by relevance

1234

/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/lint/
Dlinter.cpp15 #include "spirv-tools/linter.hpp"
26 struct Linter::Impl {
37 Linter::Linter(spv_target_env env) : impl_(new Impl(env)) {} in Linter() function in spvtools::Linter
39 Linter::~Linter() {} in ~Linter()
41 void Linter::SetMessageConsumer(MessageConsumer consumer) { in SetMessageConsumer()
45 const MessageConsumer& Linter::Consumer() const { in Consumer()
49 bool Linter::Run(const uint32_t* binary, size_t binary_size) { in Run()
/third_party/skia/third_party/externals/spirv-tools/source/lint/
Dlinter.cpp15 #include "spirv-tools/linter.hpp"
26 struct Linter::Impl {
37 Linter::Linter(spv_target_env env) : impl_(new Impl(env)) {} in Linter() function in spvtools::Linter
39 Linter::~Linter() {} in ~Linter()
41 void Linter::SetMessageConsumer(MessageConsumer consumer) { in SetMessageConsumer()
45 const MessageConsumer& Linter::Consumer() const { in Consumer()
49 bool Linter::Run(const uint32_t* binary, size_t binary_size) { in Run()
/third_party/typescript_eslint/packages/experimental-utils/src/ts-eslint/
DLinter.ts3 import { Linter as ESLintLinter } from 'eslint';
12 * Initialize the Linter.
15 constructor(config?: Linter.LinterOptions);
22 defineParser(parserId: string, parserModule: Linter.ParserModule): void;
68 config: Linter.Config,
69 filenameOrOptions?: string | Linter.VerifyOptions,
70 ): Linter.LintMessage[];
81 config: Linter.Config,
82 options: Linter.FixOptions,
83 ): Linter.FixReport;
[all …]
DCLIEngine.ts4 import { Linter } from './Linter';
19 addPlugin(name: string, pluginObject: Linter.Plugin): void;
47 getConfigForFile(filePath: string): Linter.Config;
125 parserOptions?: Linter.ParserOptions;
129 [name: string]: Linter.RuleLevel | Linter.RuleLevelAndOptions;
137 messages: Linter.LintMessage[];
DESLint.ts4 import { Linter } from './Linter';
25 calculateConfigForFile(filePath: string): Promise<Linter.Config>;
109 baseConfig?: Linter.Config | null;
166 overrideConfig?: Linter.ConfigOverride | null;
176 plugins?: Record<string, Linter.Plugin> | null;
181 reportUnusedDisableDirectives?: Linter.SeverityString | null;
235 messages: Linter.LintMessage[];
358 * If you want to lint code on browsers, use the Linter class instead.
/third_party/typescript_eslint/packages/parser/tests/lib/
Dtsx.ts10 const linter = new TSESLint.Linter(); constant
11 linter.defineParser('@typescript-eslint/parser', parser);
18 const messages = linter.verify(code, config);
42 const messages = linter.verify(code, config);
52 const messages = linter.verify(code, config, { filename: 'test.ts' });
76 const messages = linter.verify(code, config, { filename: 'test.ts' });
95 const messages = linter.verify(code, config, { filename: 'test.tsx' });
110 const messages = linter.verify(code, config, { filename: 'test.tsx' });
/third_party/typescript_eslint/packages/eslint-plugin-tslint/tests/
Dindex.spec.ts154 function testOutput(code: string, config: TSESLint.Linter.Config): void {
155 const linter = new TSESLint.Linter(); constant
156 linter.defineRule('tslint/config', rule);
157 linter.defineParser('@typescript-eslint/parser', parser);
159 expect(() => linter.verify(code, config)).toThrow(
185 const linter = new TSESLint.Linter(); constant
187 linter.defineRule('tslint/config', rule);
188 linter.defineParser('@typescript-eslint/parser', parser);
190 linter.verify(
/third_party/node/deps/npm/node_modules/har-validator/
DREADME.md5 [![super linter][super-linter-img]][super-linter-url]
15 [super-linter-url]: https://github.com/ahmadnassri/node-har-validator/actions?query=workflow%3Asupe…
16 [super-linter-img]: https://github.com/ahmadnassri/node-har-validator/workflows/super-linter/badge.…
/third_party/flutter/flutter/packages/flutter/lib/
Danalysis_options_user.yaml3 # Until there are meta linter rules, each desired lint must be explicitly enabled.
4 # See: https://github.com/dart-lang/linter/issues/288
6 # For a list of lints, see: http://dart-lang.github.io/linter/lints/
28 linter:
32 # https://github.com/dart-lang/linter/blob/master/example/all.yaml
45 # - constant_identifier_names # https://github.com/dart-lang/linter/issues/204
/third_party/flutter/engine/flutter/
Danalysis_options.yaml27 linter:
31 # https://github.com/dart-lang/linter/blob/master/example/all.yaml
54 # - avoid_returning_this # https://github.com/dart-lang/linter/issues/842
58 # - avoid_types_as_parameter_names # https://github.com/dart-lang/linter/pull/954/files
60 # - avoid_unused_constructor_parameters # https://github.com/dart-lang/linter/pull/847
67 # - constant_identifier_names # https://github.com/dart-lang/linter/issues/204
129 # - unnecessary_lambdas # https://github.com/dart-lang/linter/issues/498
140 # - use_string_buffers # https://github.com/dart-lang/linter/pull/664
/third_party/flutter/engine/flutter/tools/licenses/
Danalysis_options.yaml3 # Until there are meta linter rules, each desired lint must be explicitly enabled.
4 # See: https://github.com/dart-lang/linter/issues/288
6 # For a list of lints, see: http://dart-lang.github.io/linter/lints/
29 linter:
33 # https://github.com/dart-lang/linter/blob/master/example/all.yaml
75 # - constant_identifier_names # needs an opt-out https://github.com/dart-lang/linter/issues/204
86 … # - invariant_booleans # too many false positives: https://github.com/dart-lang/linter/issues/811
147 # - unnecessary_lambdas # has false positives: https://github.com/dart-lang/linter/issues/498
/third_party/flutter/flutter/
Danalysis_options.yaml3 # Until there are meta linter rules, each desired lint must be explicitly enabled.
4 # See: https://github.com/dart-lang/linter/issues/288
6 # For a list of lints, see: http://dart-lang.github.io/linter/lints/
42 linter:
46 # https://github.com/dart-lang/linter/blob/master/example/all.yaml
90 # - constant_identifier_names # needs an opt-out https://github.com/dart-lang/linter/issues/204
102 … # - invariant_booleans # too many false positives: https://github.com/dart-lang/linter/issues/811
175 # - unnecessary_lambdas # has false positives: https://github.com/dart-lang/linter/issues/498
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/tools/lint/
Dlint.cpp18 #include "spirv-tools/linter.hpp"
58 spvtools::Linter linter(target_env); in main() local
59 linter.SetMessageConsumer(spvtools::utils::CLIMessageConsumer); in main()
72 bool ok = linter.Run(binary.data(), binary.size()); in main()
/third_party/skia/third_party/externals/spirv-tools/tools/lint/
Dlint.cpp18 #include "spirv-tools/linter.hpp"
58 spvtools::Linter linter(target_env); in main() local
59 linter.SetMessageConsumer(spvtools::utils::CLIMessageConsumer); in main()
72 bool ok = linter.Run(binary.data(), binary.size()); in main()
/third_party/typescript_eslint/packages/eslint-plugin-tslint/src/
Dcustom-linter.ts1 import { ILinterOptions, Linter, LintResult } from 'tslint';
4 // We need to access the program, but Linter has private program already
6 const TSLintLinter = Linter as any;
/third_party/skia/third_party/externals/spirv-tools/include/spirv-tools/
Dlinter.hpp27 class Linter { class
29 explicit Linter(spv_target_env env);
31 ~Linter();
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/include/spirv-tools/
Dlinter.hpp27 class Linter { class
29 explicit Linter(spv_target_env env);
31 ~Linter();
/third_party/typescript_eslint/packages/experimental-utils/typings/
Deslint.d.ts9 const Linter: unknown; constant
15 export { Linter, RuleTester, SourceCode, CLIEngine, ESLint };
/third_party/libphonenumber/javascript/
DREADME.md9 1. Checkout closure-library, closure-compiler, closure-linter and python-gflags next to libphonenu…
17 * `git clone https://github.com/google/closure-linter.git`
74 5. Run the Closure Linter to lint the JavaScript files:
Dbuild.xml10 <property name="closure-linter.dir"
11 value="${basedir}/../../closure-linter" />
70 value="${closure-linter.dir}:${python-gflags.dir}"/>
71 <arg value="${closure-linter.dir}/closure_linter/gjslint.py" />
/third_party/node/deps/npm/node_modules/safer-buffer/
DReadme.md56 [standard](https://www.npmjs.com/package/standard) linter (among others) catch that and warn people
85 unnoticed even if you have a linter prohibiting that (becase of the reason stated above), and even
104 linter rules and presets, so it would take significant time for that to reach actual setups.
141 * You are still open to accidentally using the insecure deprecated API — use a linter to catch that.
143 Note that using a linter to catch accidential `Buffer` constructor usage in this case is strongly
/third_party/typescript_eslint/packages/eslint-plugin/tools/
Dgenerate-configs.ts22 | TSESLint.Linter.RuleLevel
23 | TSESLint.Linter.RuleLevelAndOptions;
26 interface LinterConfig extends TSESLint.Linter.Config {
/third_party/grpc/templates/src/objective-c/
DBoringSSL-GRPC.podspec.template141 … # We don't need to inhibit all warnings; only -Wno-shorten-64-to-32. But Cocoapods' linter doesn't
147 # sources and private headers in other directories outside `include/`. Cocoapods' linter doesn't
150 … # mentioned above, we work around the linter limitation by dividing the pod into two subspecs, one
152 # making the linter happy.
/third_party/flutter/engine/flutter/tools/android_lint/bin/
Dmain.dart191 print('Java 1.8 not available - the linter may not work properly.');
218 /// The path to use for project.xml, which tells the linter where to find source
222 /// The path to use for baseline.xml, which tells the linter what errors or
/third_party/flutter/engine/flutter/shell/platform/android/io/flutter/embedding/android/
DSplashScreen.java71 // We suppress NewApi because the CI linter thinks that "default" methods are unsupported.
81 // We suppress NewApi because the CI linter thinks that "default" methods are unsupported.

1234