Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

4.0 eslint-config-norton fixes/tweaks #39

Merged
merged 34 commits into from Sep 4, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
2ab6547
fix(eslint-config-norton): ensure that Norton rules are preferred ove…
sh0ji Aug 28, 2020
31c5e27
refactor(eslint-config-norton): prefer "off" to 0
sh0ji Aug 28, 2020
6b98ba1
fix(eslint-config-norton): re-enable semicolon since the prettier con…
sh0ji Aug 28, 2020
f8121c4
fix(eslint-config-norton): overhaul typescript overrides
sh0ji Aug 28, 2020
e55e395
refactor(eslint-config-norton): remove redundant plugins
sh0ji Aug 28, 2020
3af1f12
fix(eslint-config-norton): don't enforce env in config
sh0ji Aug 28, 2020
c9f1778
refactor(eslint-config-norton): remove redundant and opinionated rules
sh0ji Aug 28, 2020
31a3071
chore: import typescriptReact
sh0ji Aug 28, 2020
f8ff14d
refactor(eslint-config-norton): simplify config comment
sh0ji Aug 28, 2020
dfd2183
refactor(eslint-config-norton): use the base config exposed by esling…
sh0ji Aug 28, 2020
a455a96
fix(eslint-config-norton): prefer norton rules in base config
sh0ji Aug 28, 2020
ca16f31
refactor(eslint-config-norton): override base with typescript base
sh0ji Aug 28, 2020
58a5733
chore: remove unnecessary dependency
sh0ji Aug 28, 2020
4ffd277
chore: add parserOptions to project
sh0ji Aug 28, 2020
f3c3fc7
test(eslint-config-norton): add tests for all rules and file types
sh0ji Aug 28, 2020
58d03ba
refactor: use commonjs modules for tests
sh0ji Aug 28, 2020
69dd1e3
chore: add react & types for eslint-config-norton test fixtures
sh0ji Aug 28, 2020
3191615
chore: update lockfile
sh0ji Aug 28, 2020
9037f97
refactor(commitlint-config-norton): use commonjs imports
sh0ji Aug 28, 2020
ad5d5c0
refactor(eslint-config-norton): add ts/tsx to import/extensions rule …
sh0ji Aug 28, 2020
2053be4
feat: move typescript overrides into entrypoints
Sep 2, 2020
7b72593
chore: add prettier to monorepo devdependency
Sep 2, 2020
7e11274
chore: update package lock
Sep 2, 2020
3f1c379
chore: add new entrypoints to files and add typescript to peerDepende…
Sep 2, 2020
b1240ae
refactor: remove semi rules in favor of prettier formatting
Sep 2, 2020
1f83922
test: setup for prettier changes formatting in tests
Sep 2, 2020
bda8892
refactor: move typescript rules into rules folder
Sep 3, 2020
1975461
refactor: add typescript eslint entrypoint to style repo
Sep 3, 2020
70f8d6e
fix: add back Prettier semi rules for rule clarity and easier testing
Sep 3, 2020
de7860a
test: add post Prettier testing
Sep 3, 2020
25936fa
docs(eslint-config-norton): update new Typescript usage documentation
Sep 3, 2020
cbe4504
Merge pull request #46 from wwnorton/typescript-entrypoints
ParmeJon Sep 4, 2020
aca96d3
docs(eslint-config-norton): update and fix typos for typescript proje…
Sep 4, 2020
10710d3
Merge branch 'main' into 4.0-tweaks
ParmeJon Sep 4, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion .eslintignore
@@ -1 +1 @@
invalid.js
invalid.*
6 changes: 5 additions & 1 deletion .eslintrc.js
@@ -1,5 +1,5 @@
module.exports = {
extends: ['./packages/eslint-config-norton'],
extends: ['./packages/eslint-config-norton', './packages/eslint-config-norton/typescript'],
rules: {
'import/no-extraneous-dependencies': ['error',
{
Expand All @@ -12,4 +12,8 @@ module.exports = {
},
],
},
parserOptions: {
tsconfigRootDir: __dirname,
project: ['./packages/eslint-config-norton/tsconfig.json'],
},
};