diff --git a/web/e.cash/data/faqs.js b/web/e.cash/data/faqs.js --- a/web/e.cash/data/faqs.js +++ b/web/e.cash/data/faqs.js @@ -1,3 +1,6 @@ +// Copyright (c) 2023 The Bitcoin developers +// Distributed under the MIT software license, see the accompanying +// file COPYING or http://www.opensource.org/licenses/mit-license.php. import CustomLink from '/components/custom-link'; export const faqs = [ diff --git a/web/e.cash/data/navitems.js b/web/e.cash/data/navitems.js --- a/web/e.cash/data/navitems.js +++ b/web/e.cash/data/navitems.js @@ -1,3 +1,6 @@ +// Copyright (c) 2023 The Bitcoin developers +// Distributed under the MIT software license, see the accompanying +// file COPYING or http://www.opensource.org/licenses/mit-license.php. export const navitems = [ { nav_item: 'About', diff --git a/web/e.cash/data/roadmap.js b/web/e.cash/data/roadmap.js --- a/web/e.cash/data/roadmap.js +++ b/web/e.cash/data/roadmap.js @@ -1,3 +1,6 @@ +// Copyright (c) 2023 The Bitcoin developers +// Distributed under the MIT software license, see the accompanying +// file COPYING or http://www.opensource.org/licenses/mit-license.php. import rocket from '/public/images/rocket.svg'; import award from '/public/images/award.svg'; diff --git a/web/e.cash/data/socials.js b/web/e.cash/data/socials.js --- a/web/e.cash/data/socials.js +++ b/web/e.cash/data/socials.js @@ -1,3 +1,6 @@ +// Copyright (c) 2023 The Bitcoin developers +// Distributed under the MIT software license, see the accompanying +// file COPYING or http://www.opensource.org/licenses/mit-license.php. export const socials = [ { name: 'facebook', diff --git a/web/e.cash/jest.config.js b/web/e.cash/jest.config.js --- a/web/e.cash/jest.config.js +++ b/web/e.cash/jest.config.js @@ -1,3 +1,6 @@ +// Copyright (c) 2023 The Bitcoin developers +// Distributed under the MIT software license, see the accompanying +// file COPYING or http://www.opensource.org/licenses/mit-license.php. module.exports = { collectCoverage: true, // on node 14.x coverage provider v8 offers good speed and more or less good report diff --git a/web/e.cash/next.config.js b/web/e.cash/next.config.js --- a/web/e.cash/next.config.js +++ b/web/e.cash/next.config.js @@ -1,8 +1,25 @@ +// Copyright (c) 2023 The Bitcoin developers +// Distributed under the MIT software license, see the accompanying +// file COPYING or http://www.opensource.org/licenses/mit-license.php. const nextConfig = { reactStrictMode: true, compiler: { styledComponents: true, }, + eslint: { + dirs: [ + 'pages', + 'app', + 'components', + 'lib', + 'src', + 'data', + 'styles', + '.eslintrc.js', + 'next.config.js', + 'jest.config.js', + ], + }, images: { remotePatterns: [ { diff --git a/web/e.cash/styles/global.js b/web/e.cash/styles/global.js --- a/web/e.cash/styles/global.js +++ b/web/e.cash/styles/global.js @@ -1,3 +1,6 @@ +// Copyright (c) 2023 The Bitcoin developers +// Distributed under the MIT software license, see the accompanying +// file COPYING or http://www.opensource.org/licenses/mit-license.php. import { createGlobalStyle } from 'styled-components'; export default createGlobalStyle` diff --git a/web/e.cash/styles/pages/core-tech.js b/web/e.cash/styles/pages/core-tech.js --- a/web/e.cash/styles/pages/core-tech.js +++ b/web/e.cash/styles/pages/core-tech.js @@ -1,3 +1,6 @@ +// Copyright (c) 2023 The Bitcoin developers +// Distributed under the MIT software license, see the accompanying +// file COPYING or http://www.opensource.org/licenses/mit-license.php. import styled from 'styled-components'; export const TextImageBlockCtn = styled.div` diff --git a/web/e.cash/styles/pages/ecash-brand.js b/web/e.cash/styles/pages/ecash-brand.js --- a/web/e.cash/styles/pages/ecash-brand.js +++ b/web/e.cash/styles/pages/ecash-brand.js @@ -1,3 +1,6 @@ +// Copyright (c) 2023 The Bitcoin developers +// Distributed under the MIT software license, see the accompanying +// file COPYING or http://www.opensource.org/licenses/mit-license.php. import styled from 'styled-components'; import Link from 'next/link'; diff --git a/web/e.cash/styles/pages/faq.js b/web/e.cash/styles/pages/faq.js --- a/web/e.cash/styles/pages/faq.js +++ b/web/e.cash/styles/pages/faq.js @@ -1,3 +1,6 @@ +// Copyright (c) 2023 The Bitcoin developers +// Distributed under the MIT software license, see the accompanying +// file COPYING or http://www.opensource.org/licenses/mit-license.php. import styled from 'styled-components'; export const QuestionBlock = styled.div` diff --git a/web/e.cash/styles/pages/get-ecash.js b/web/e.cash/styles/pages/get-ecash.js --- a/web/e.cash/styles/pages/get-ecash.js +++ b/web/e.cash/styles/pages/get-ecash.js @@ -1,3 +1,6 @@ +// Copyright (c) 2023 The Bitcoin developers +// Distributed under the MIT software license, see the accompanying +// file COPYING or http://www.opensource.org/licenses/mit-license.php. import styled from 'styled-components'; import Link from 'next/link'; diff --git a/web/e.cash/styles/pages/homepage.js b/web/e.cash/styles/pages/homepage.js --- a/web/e.cash/styles/pages/homepage.js +++ b/web/e.cash/styles/pages/homepage.js @@ -1,3 +1,6 @@ +// Copyright (c) 2023 The Bitcoin developers +// Distributed under the MIT software license, see the accompanying +// file COPYING or http://www.opensource.org/licenses/mit-license.php. import styled from 'styled-components'; import Neoncity from '/public/images/neon-city.png'; diff --git a/web/e.cash/styles/pages/wealth-redefined.js b/web/e.cash/styles/pages/wealth-redefined.js --- a/web/e.cash/styles/pages/wealth-redefined.js +++ b/web/e.cash/styles/pages/wealth-redefined.js @@ -1,3 +1,6 @@ +// Copyright (c) 2023 The Bitcoin developers +// Distributed under the MIT software license, see the accompanying +// file COPYING or http://www.opensource.org/licenses/mit-license.php. import styled from 'styled-components'; export const TextBlock = styled.div` diff --git a/web/e.cash/styles/theme.js b/web/e.cash/styles/theme.js --- a/web/e.cash/styles/theme.js +++ b/web/e.cash/styles/theme.js @@ -1,3 +1,6 @@ +// Copyright (c) 2023 The Bitcoin developers +// Distributed under the MIT software license, see the accompanying +// file COPYING or http://www.opensource.org/licenses/mit-license.php. export const ecash = { colors: { primary: '#0074c2',