The PR: * Reengineering eslint.config.js to properly extending the existing plugins and configs. It also implies disabling a bunch of broken rules. * Adds running eslint for all brave files in `npm run presubmit -- --all`. * Also enables eslint check for all *.js files
13 lines
585 B
JavaScript
13 lines
585 B
JavaScript
// Copyright (c) 2019 The Brave Authors. All rights reserved.
|
|
// This Source Code Form is subject to the terms of the Mozilla Public
|
|
// License, v. 2.0. If a copy of the MPL was not distributed with this file,
|
|
// You can obtain one at https://mozilla.org/MPL/2.0/.
|
|
const TypescriptPluginStyledComponents = require('typescript-plugin-styled-components')
|
|
const createStyledComponentsTransformer = TypescriptPluginStyledComponents.default
|
|
const styledComponentsTransformer = createStyledComponentsTransformer()
|
|
module.exports = () => ({
|
|
before: [
|
|
styledComponentsTransformer
|
|
]
|
|
})
|