mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
* Alphabetized tslint and tsconfig files * Optimized tsconfig files * Optimized editorconfig & prettier config files … to reduce redundancy * Switched to @grafana/tsconfig … and: * de-duped options * removed options with default values * Fixed nasty issue with types for nested slate-react * Replaced TSLint with ESLint * TSLint disables → ESLint disables … also JSHint removals, which haven’t had an affect since it was replaced with TSLint. * Compliances for ESLint, Prettier and TypeScript * Updated lockfile
21 lines
459 B
JavaScript
21 lines
459 B
JavaScript
module.exports = function(config, grunt) {
|
|
'use strict';
|
|
|
|
return {
|
|
eslintPackages: {
|
|
command: 'yarn packages:lint',
|
|
},
|
|
eslintRoot: {
|
|
command: 'yarn lint',
|
|
},
|
|
typecheckPackages: {
|
|
command: 'yarn packages:typecheck',
|
|
},
|
|
typecheckRoot: {
|
|
command: 'yarn typecheck',
|
|
},
|
|
jest: 'yarn jest-ci',
|
|
webpack: 'node ./node_modules/webpack/bin/webpack.js --config scripts/webpack/webpack.prod.js',
|
|
};
|
|
};
|