mirror of
https://github.com/grafana/grafana.git
synced 2024-11-23 01:16:31 -06:00
24 lines
602 B
JavaScript
24 lines
602 B
JavaScript
module.exports = function(config) {
|
|
return {
|
|
source: {
|
|
files: {
|
|
src: ['<%= srcDir %>/app/**/*.ts', '!<%= srcDir %>/app/**/*.d.ts'],
|
|
}
|
|
},
|
|
options: {
|
|
configuration: {
|
|
rules: {
|
|
curly: true,
|
|
align: [true, "parameters", "statements"],
|
|
indent: [true, "spaces"],
|
|
"class-name": true,
|
|
"interface-name": true,
|
|
"semicolon": true,
|
|
"use-strict": [false, "check-module", "check-function"],
|
|
"whitespace": [true, "check-branch", "check-decl", "check-type"],
|
|
}
|
|
}
|
|
}
|
|
};
|
|
};
|